pub enum ContainerIPduHeaderType {
LongHeader,
NoHeader,
ShortHeader,
}
Expand description
The header type of a ContainerIPdu
Variants§
LongHeader
Header size is 64 bit: Header id is 32 bit, dlc is 32 bit
NoHeader
no header is used, the locations of the contained PDUs are fixed
ShortHeader
Header size is 32 bit: Header id is 24 bit, dlc is 8 bit
Trait Implementations§
Source§impl Clone for ContainerIPduHeaderType
impl Clone for ContainerIPduHeaderType
Source§fn clone(&self) -> ContainerIPduHeaderType
fn clone(&self) -> ContainerIPduHeaderType
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 ContainerIPduHeaderType
impl Debug for ContainerIPduHeaderType
Source§impl From<ContainerIPduHeaderType> for EnumItem
impl From<ContainerIPduHeaderType> for EnumItem
Source§fn from(value: ContainerIPduHeaderType) -> Self
fn from(value: ContainerIPduHeaderType) -> Self
Converts to this type from the input type.
Source§impl Hash for ContainerIPduHeaderType
impl Hash for ContainerIPduHeaderType
Source§impl PartialEq for ContainerIPduHeaderType
impl PartialEq for ContainerIPduHeaderType
Source§impl TryFrom<EnumItem> for ContainerIPduHeaderType
impl TryFrom<EnumItem> for ContainerIPduHeaderType
impl Copy for ContainerIPduHeaderType
impl Eq for ContainerIPduHeaderType
impl StructuralPartialEq for ContainerIPduHeaderType
Auto Trait Implementations§
impl Freeze for ContainerIPduHeaderType
impl RefUnwindSafe for ContainerIPduHeaderType
impl Send for ContainerIPduHeaderType
impl Sync for ContainerIPduHeaderType
impl Unpin for ContainerIPduHeaderType
impl UnwindSafe for ContainerIPduHeaderType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.