pub enum RingType {
Fill,
Rx,
Tx,
Completion,
}Expand description
Ring 类型
Variants§
Fill
Fill Ring(用户态 → 内核态:填充可接收的描述符)
Rx
RX Ring(内核态 → 用户态:接收完成的描述符)
Tx
TX Ring(用户态 → 内核态:发送的描述符)
Completion
Completion Ring(内核态 → 用户态:发送完成的描述符)
Trait Implementations§
impl Copy for RingType
impl Eq for RingType
impl StructuralPartialEq for RingType
Auto Trait Implementations§
impl Freeze for RingType
impl RefUnwindSafe for RingType
impl Send for RingType
impl Sync for RingType
impl Unpin for RingType
impl UnsafeUnpin for RingType
impl UnwindSafe for RingType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.