pub enum InterfaceTxStatus {
Host,
D7asp(InterfaceTxStatus),
Unknown(InterfaceStatusUnknown),
}
Expand description
Meta data from a received packet depending on the receiving interface type
Variants§
Trait Implementations§
source§impl Clone for InterfaceTxStatus
impl Clone for InterfaceTxStatus
source§fn clone(&self) -> InterfaceTxStatus
fn clone(&self) -> InterfaceTxStatus
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 Codec for InterfaceTxStatus
impl Codec for InterfaceTxStatus
type Error = InterfaceTxStatusDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl Debug for InterfaceTxStatus
impl Debug for InterfaceTxStatus
source§impl Display for InterfaceTxStatus
impl Display for InterfaceTxStatus
source§impl PartialEq for InterfaceTxStatus
impl PartialEq for InterfaceTxStatus
source§fn eq(&self, other: &InterfaceTxStatus) -> bool
fn eq(&self, other: &InterfaceTxStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterfaceTxStatus
Auto Trait Implementations§
impl Freeze for InterfaceTxStatus
impl RefUnwindSafe for InterfaceTxStatus
impl Send for InterfaceTxStatus
impl Sync for InterfaceTxStatus
impl Unpin for InterfaceTxStatus
impl UnwindSafe for InterfaceTxStatus
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