pub enum Link16Version {
NoStatement = 0,
MILSTD6016C = 1,
MILSTD6016D = 2,
MILSTD6016E = 3,
MILSTD6016F = 4,
MILSTD6016FC1 = 5,
STANAG5516Ed3 = 103,
STANAG5516Ed4 = 104,
STANAG5516Ed5 = 105,
STANAG5516Ed6 = 106,
STANAG5516Ed8 = 108,
}Variants§
NoStatement = 0
MILSTD6016C = 1
MILSTD6016D = 2
MILSTD6016E = 3
MILSTD6016F = 4
MILSTD6016FC1 = 5
STANAG5516Ed3 = 103
STANAG5516Ed4 = 104
STANAG5516Ed5 = 105
STANAG5516Ed6 = 106
STANAG5516Ed8 = 108
Implementations§
Source§impl Link16Version
impl Link16Version
pub fn deserialize(buf: &mut BytesMut) -> Self
Trait Implementations§
Source§impl Clone for Link16Version
impl Clone for Link16Version
Source§fn clone(&self) -> Link16Version
fn clone(&self) -> Link16Version
Returns a duplicate 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 Link16Version
impl Debug for Link16Version
Source§impl Default for Link16Version
impl Default for Link16Version
Source§fn default() -> Link16Version
fn default() -> Link16Version
Returns the “default value” for a type. Read more
Source§impl FromPrimitive for Link16Version
impl FromPrimitive for Link16Version
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl PartialEq for Link16Version
impl PartialEq for Link16Version
impl Copy for Link16Version
impl StructuralPartialEq for Link16Version
Auto Trait Implementations§
impl Freeze for Link16Version
impl RefUnwindSafe for Link16Version
impl Send for Link16Version
impl Sync for Link16Version
impl Unpin for Link16Version
impl UnwindSafe for Link16Version
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