#[repr(C)]pub(crate) struct RingMeta {
pub(crate) head: AtomicU32,
pub(crate) tail: AtomicU32,
pub(crate) mask: AtomicU32,
pub(crate) entries: AtomicU32,
pub(crate) flags: AtomicU32,
}Expand description
Metadata header embedded at offset 0 of each ring page.
The SQE/CQE array starts at RING_META_SIZE bytes from the page base.
Fields§
§head: AtomicU32§tail: AtomicU32§mask: AtomicU32§entries: AtomicU32§flags: AtomicU32Auto Trait Implementations§
impl !Freeze for RingMeta
impl RefUnwindSafe for RingMeta
impl Send for RingMeta
impl Sync for RingMeta
impl Unpin for RingMeta
impl UnsafeUnpin for RingMeta
impl UnwindSafe for RingMeta
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more