Enum de_net::header::DatagramHeader
source · pub(crate) enum DatagramHeader {
Confirmation,
Package(PackageHeader),
}
Variants§
Confirmation
Package(PackageHeader)
Implementations§
Trait Implementations§
source§impl Clone for DatagramHeader
impl Clone for DatagramHeader
source§fn clone(&self) -> DatagramHeader
fn clone(&self) -> DatagramHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatagramHeader
impl Debug for DatagramHeader
source§impl Display for DatagramHeader
impl Display for DatagramHeader
source§impl PartialEq for DatagramHeader
impl PartialEq for DatagramHeader
source§fn eq(&self, other: &DatagramHeader) -> bool
fn eq(&self, other: &DatagramHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DatagramHeader
impl StructuralPartialEq for DatagramHeader
Auto Trait Implementations§
impl Freeze for DatagramHeader
impl RefUnwindSafe for DatagramHeader
impl Send for DatagramHeader
impl Sync for DatagramHeader
impl Unpin for DatagramHeader
impl UnwindSafe for DatagramHeader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more