pub enum InterfaceConfiguration {
Host,
D7asp(InterfaceConfiguration),
}
Expand description
Meta data required to send a packet depending on the sending interface type
Variants§
Host
D7asp(InterfaceConfiguration)
Trait Implementations§
source§impl Clone for InterfaceConfiguration
impl Clone for InterfaceConfiguration
source§fn clone(&self) -> InterfaceConfiguration
fn clone(&self) -> InterfaceConfiguration
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 InterfaceConfiguration
impl Codec for InterfaceConfiguration
type Error = InterfaceConfigurationDecodingError
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 InterfaceConfiguration
impl Debug for InterfaceConfiguration
source§impl Display for InterfaceConfiguration
impl Display for InterfaceConfiguration
source§impl From<InterfaceConfiguration> for InterfaceConfiguration
impl From<InterfaceConfiguration> for InterfaceConfiguration
source§fn from(o: InterfaceConfiguration) -> Self
fn from(o: InterfaceConfiguration) -> Self
Converts to this type from the input type.
source§impl From<InterfaceConfiguration> for InterfaceConfiguration
impl From<InterfaceConfiguration> for InterfaceConfiguration
source§fn from(o: InterfaceConfiguration) -> Self
fn from(o: InterfaceConfiguration) -> Self
Converts to this type from the input type.
source§impl PartialEq for InterfaceConfiguration
impl PartialEq for InterfaceConfiguration
source§fn eq(&self, other: &InterfaceConfiguration) -> bool
fn eq(&self, other: &InterfaceConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterfaceConfiguration
Auto Trait Implementations§
impl Freeze for InterfaceConfiguration
impl RefUnwindSafe for InterfaceConfiguration
impl Send for InterfaceConfiguration
impl Sync for InterfaceConfiguration
impl Unpin for InterfaceConfiguration
impl UnwindSafe for InterfaceConfiguration
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