pub struct RingMmap<T> {
pub mmap: *const u8,
pub mmap_len: usize,
pub producer: *mut AtomicU32,
pub consumer: *mut AtomicU32,
pub desc: *mut T,
pub flags: *mut AtomicU32,
}Fields§
§mmap: *const u8§mmap_len: usize§producer: *mut AtomicU32§consumer: *mut AtomicU32§desc: *mut T§flags: *mut AtomicU32Trait Implementations§
impl<T> Send for RingMmap<T>
Safety: Instances of RingMmap<T> MUST only be resident on one thread at a time
Auto Trait Implementations§
impl<T> !Sync for RingMmap<T>
impl<T> Freeze for RingMmap<T>
impl<T> RefUnwindSafe for RingMmap<T>where
T: RefUnwindSafe,
impl<T> Unpin for RingMmap<T>
impl<T> UnsafeUnpin for RingMmap<T>
impl<T> UnwindSafe for RingMmap<T>where
T: RefUnwindSafe,
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