pub enum TransceiverDirection {
SendRecv,
SendOnly,
RecvOnly,
Inactive,
}Variants§
Implementations§
Source§impl TransceiverDirection
impl TransceiverDirection
pub fn answer_direction(self) -> Self
pub fn sends(self) -> bool
Trait Implementations§
Source§impl Clone for TransceiverDirection
impl Clone for TransceiverDirection
impl Copy for TransceiverDirection
Source§impl Debug for TransceiverDirection
impl Debug for TransceiverDirection
Source§impl Default for TransceiverDirection
impl Default for TransceiverDirection
impl Eq for TransceiverDirection
Source§impl From<Direction> for TransceiverDirection
impl From<Direction> for TransceiverDirection
Source§impl From<TransceiverDirection> for Direction
impl From<TransceiverDirection> for Direction
Source§fn from(value: TransceiverDirection) -> Self
fn from(value: TransceiverDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransceiverDirection
impl PartialEq for TransceiverDirection
impl StructuralPartialEq for TransceiverDirection
Auto Trait Implementations§
impl Freeze for TransceiverDirection
impl RefUnwindSafe for TransceiverDirection
impl Send for TransceiverDirection
impl Sync for TransceiverDirection
impl Unpin for TransceiverDirection
impl UnsafeUnpin for TransceiverDirection
impl UnwindSafe for TransceiverDirection
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,
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.