#[repr(u8)]pub enum PacketType {
Telemetry = 0,
Telecommand = 1,
}Variants§
Trait Implementations§
Source§impl BitCount for PacketType
impl BitCount for PacketType
Source§impl Clone for PacketType
impl Clone for PacketType
Source§fn clone(&self) -> PacketType
fn clone(&self) -> PacketType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacketType
Source§impl Debug for PacketType
impl Debug for PacketType
Source§impl Default for PacketType
impl Default for PacketType
Source§impl<'de> Deserialize<'de> for PacketType
impl<'de> Deserialize<'de> for PacketType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PacketType
Source§impl FieldStorage for PacketType
impl FieldStorage for PacketType
Source§type StoredType = u8
type StoredType = u8
The type this field stores as
Source§fn inner_raw(self) -> Self::StoredType
fn inner_raw(self) -> Self::StoredType
Get the raw representation of this value
Source§impl From<PacketType> for u8
impl From<PacketType> for u8
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u16
impl From<PacketType> for u16
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u32
impl From<PacketType> for u32
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u64
impl From<PacketType> for u64
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u128
impl From<PacketType> for u128
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u24
impl From<PacketType> for u24
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u40
impl From<PacketType> for u40
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u48
impl From<PacketType> for u48
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl From<PacketType> for u56
impl From<PacketType> for u56
Source§fn from(value: PacketType) -> Self
fn from(value: PacketType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PacketType
impl PartialEq for PacketType
Source§impl PartialOrd for PacketType
impl PartialOrd for PacketType
Source§impl Serialize for PacketType
impl Serialize for PacketType
impl StructuralPartialEq for PacketType
Source§impl ValidCheck<u8> for PacketType
impl ValidCheck<u8> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u16> for PacketType
impl ValidCheck<u16> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u24> for PacketType
impl ValidCheck<u24> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u32> for PacketType
impl ValidCheck<u32> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u40> for PacketType
impl ValidCheck<u40> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u48> for PacketType
impl ValidCheck<u48> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u56> for PacketType
impl ValidCheck<u56> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u64> for PacketType
impl ValidCheck<u64> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Source§impl ValidCheck<u128> for PacketType
impl ValidCheck<u128> for PacketType
Source§const ALWAYS_VALID: bool
const ALWAYS_VALID: bool
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type
Auto Trait Implementations§
impl Freeze for PacketType
impl RefUnwindSafe for PacketType
impl Send for PacketType
impl Sync for PacketType
impl Unpin for PacketType
impl UnsafeUnpin for PacketType
impl UnwindSafe for PacketType
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