pub enum AdapterRole {
Rxtx,
Rx,
Tx,
Mesh,
}Expand description
What an adapter is used for.
rxtx receives and carries the transmit lanes, rx only receives, tx
only transmits, and mesh is left out of WFB entirely for the batman-adv
mesh carrier.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AdapterRole
impl Clone for AdapterRole
impl Copy for AdapterRole
Source§impl Debug for AdapterRole
impl Debug for AdapterRole
Source§impl<'de> Deserialize<'de> for AdapterRole
impl<'de> Deserialize<'de> for AdapterRole
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 AdapterRole
Source§impl Hash for AdapterRole
impl Hash for AdapterRole
Source§impl PartialEq for AdapterRole
impl PartialEq for AdapterRole
Source§impl Serialize for AdapterRole
impl Serialize for AdapterRole
impl StructuralPartialEq for AdapterRole
Auto Trait Implementations§
impl Freeze for AdapterRole
impl RefUnwindSafe for AdapterRole
impl Send for AdapterRole
impl Sync for AdapterRole
impl Unpin for AdapterRole
impl UnsafeUnpin for AdapterRole
impl UnwindSafe for AdapterRole
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.