#[repr(u8)]pub enum P2cfgDirection {
DIR0 = 0,
DIR1 = 1,
DIR2 = 2,
DIR3 = 3,
}Variants§
DIR0 = 0
Endpoint or index-and-data: bidirectional (normal). Mailbox Single: unenforced. Mailbox Split or Mailbox Shared: bidirectional.
DIR1 = 1
Endpoint or index-and-data: ignore read. Mailbox Single: write only. Mailbox Split or Mailbox Shared: ignore read.
DIR2 = 2
Endpoint or index-and-data: ignore write. Mailbox Single: read only. Mailbox Split or Mailbox Shared: ignore write.
DIR3 = 3
Endpoint or index-and-data: Ignore both. Mailbox Single: ignore both. Mailbox Split or Mailbox Shared: ignore both.
Implementations§
Trait Implementations§
Source§impl Clone for P2cfgDirection
impl Clone for P2cfgDirection
Source§fn clone(&self) -> P2cfgDirection
fn clone(&self) -> P2cfgDirection
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 P2cfgDirection
impl Debug for P2cfgDirection
Source§impl From<P2cfgDirection> for u8
impl From<P2cfgDirection> for u8
Source§fn from(val: P2cfgDirection) -> u8
fn from(val: P2cfgDirection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P2cfgDirection
impl From<u8> for P2cfgDirection
Source§fn from(val: u8) -> P2cfgDirection
fn from(val: u8) -> P2cfgDirection
Converts to this type from the input type.
Source§impl Ord for P2cfgDirection
impl Ord for P2cfgDirection
Source§fn cmp(&self, other: &P2cfgDirection) -> Ordering
fn cmp(&self, other: &P2cfgDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P2cfgDirection
impl PartialEq for P2cfgDirection
Source§impl PartialOrd for P2cfgDirection
impl PartialOrd for P2cfgDirection
impl Copy for P2cfgDirection
impl Eq for P2cfgDirection
impl StructuralPartialEq for P2cfgDirection
Auto Trait Implementations§
impl Freeze for P2cfgDirection
impl RefUnwindSafe for P2cfgDirection
impl Send for P2cfgDirection
impl Sync for P2cfgDirection
impl Unpin for P2cfgDirection
impl UnwindSafe for P2cfgDirection
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