pub struct TxRing<F: Frame> { /* private fields */ }Implementations§
Source§impl<F: Frame> TxRing<F>
impl<F: Frame> TxRing<F>
pub fn write(&mut self, frame: F, options: u32) -> Result<(), RingFull<F>>
pub fn needs_wakeup(&self) -> bool
pub fn wake(&self) -> Result<u64, Error>
pub fn capacity(&self) -> usize
pub fn available(&self) -> usize
pub fn commit(&mut self)
pub fn sync(&mut self, commit: bool)
Auto Trait Implementations§
impl<F> !Sync for TxRing<F>
impl<F> Freeze for TxRing<F>
impl<F> RefUnwindSafe for TxRing<F>where
F: RefUnwindSafe,
impl<F> Send for TxRing<F>where
F: Send,
impl<F> Unpin for TxRing<F>where
F: Unpin,
impl<F> UnsafeUnpin for TxRing<F>
impl<F> UnwindSafe for TxRing<F>where
F: UnwindSafe,
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