pub enum MspPacketDirection {
ToFlightController,
FromFlightController,
Unsupported,
}
Expand description
Packet’s desired destination
Variants§
ToFlightController
Network byte ‘<’
FromFlightController
Network byte ‘>’
Unsupported
Network byte ‘!’
Implementations§
Trait Implementations§
Source§impl Clone for MspPacketDirection
impl Clone for MspPacketDirection
Source§fn clone(&self) -> MspPacketDirection
fn clone(&self) -> MspPacketDirection
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 MspPacketDirection
impl Debug for MspPacketDirection
Source§impl PartialEq for MspPacketDirection
impl PartialEq for MspPacketDirection
impl Copy for MspPacketDirection
impl StructuralPartialEq for MspPacketDirection
Auto Trait Implementations§
impl Freeze for MspPacketDirection
impl RefUnwindSafe for MspPacketDirection
impl Send for MspPacketDirection
impl Sync for MspPacketDirection
impl Unpin for MspPacketDirection
impl UnwindSafe for MspPacketDirection
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