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