#[repr(u8)]pub enum P3cfgDirection {
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 P3cfgDirection
impl Clone for P3cfgDirection
Source§fn clone(&self) -> P3cfgDirection
fn clone(&self) -> P3cfgDirection
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 P3cfgDirection
impl Debug for P3cfgDirection
Source§impl From<P3cfgDirection> for u8
impl From<P3cfgDirection> for u8
Source§fn from(val: P3cfgDirection) -> u8
fn from(val: P3cfgDirection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P3cfgDirection
impl From<u8> for P3cfgDirection
Source§fn from(val: u8) -> P3cfgDirection
fn from(val: u8) -> P3cfgDirection
Converts to this type from the input type.
Source§impl Ord for P3cfgDirection
impl Ord for P3cfgDirection
Source§fn cmp(&self, other: &P3cfgDirection) -> Ordering
fn cmp(&self, other: &P3cfgDirection) -> 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 P3cfgDirection
impl PartialEq for P3cfgDirection
Source§impl PartialOrd for P3cfgDirection
impl PartialOrd for P3cfgDirection
impl Copy for P3cfgDirection
impl Eq for P3cfgDirection
impl StructuralPartialEq for P3cfgDirection
Auto Trait Implementations§
impl Freeze for P3cfgDirection
impl RefUnwindSafe for P3cfgDirection
impl Send for P3cfgDirection
impl Sync for P3cfgDirection
impl Unpin for P3cfgDirection
impl UnwindSafe for P3cfgDirection
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