#[repr(u8)]pub enum ControlFlag {
TypeD = 0,
TypeC = 1,
}Expand description
The Control Command Flag, indicating whether the frame contains user data or control information for the receiver.
Variants§
TypeD = 0
The frame contains user data (e.g., a SpacePacket).
TypeC = 1
The frame contains control information (Type-C).
Trait Implementations§
Source§impl Clone for ControlFlag
impl Clone for ControlFlag
Source§fn clone(&self) -> ControlFlag
fn clone(&self) -> ControlFlag
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 ControlFlag
impl Debug for ControlFlag
Source§impl PartialEq for ControlFlag
impl PartialEq for ControlFlag
impl Copy for ControlFlag
impl Eq for ControlFlag
impl StructuralPartialEq for ControlFlag
Auto Trait Implementations§
impl Freeze for ControlFlag
impl RefUnwindSafe for ControlFlag
impl Send for ControlFlag
impl Sync for ControlFlag
impl Unpin for ControlFlag
impl UnsafeUnpin for ControlFlag
impl UnwindSafe for ControlFlag
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