pub struct Queue<M: RingMem> { /* private fields */ }
Expand description
An abstraction over an open VmBus channel that provides methods to read and write packets from the ring, as well as poll the ring for readiness.
This is useful when you need to operate on external data packets or send or
receive packets in batch. Otherwise, consider the Channel
type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for Queue<M>where
M: Freeze,
impl<M> !RefUnwindSafe for Queue<M>
impl<M> Send for Queue<M>
impl<M> Sync for Queue<M>where
M: Sync,
impl<M> Unpin for Queue<M>where
M: Unpin,
impl<M> !UnwindSafe for Queue<M>
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