#[repr(u8)]pub enum ChannelDirection {
Tx = 0,
Rx = 1,
}Expand description
The direction of a channel type.
Variants§
Trait Implementations§
Source§impl Clone for ChannelDirection
impl Clone for ChannelDirection
Source§fn clone(&self) -> ChannelDirection
fn clone(&self) -> ChannelDirection
Returns a duplicate 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 ChannelDirection
impl Debug for ChannelDirection
Source§impl<'ʄ> Facet<'ʄ> for ChannelDirection
impl<'ʄ> Facet<'ʄ> for ChannelDirection
Source§impl PartialEq for ChannelDirection
impl PartialEq for ChannelDirection
impl Copy for ChannelDirection
impl Eq for ChannelDirection
impl StructuralPartialEq for ChannelDirection
Auto Trait Implementations§
impl Freeze for ChannelDirection
impl RefUnwindSafe for ChannelDirection
impl Send for ChannelDirection
impl Sync for ChannelDirection
impl Unpin for ChannelDirection
impl UnsafeUnpin for ChannelDirection
impl UnwindSafe for ChannelDirection
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.