Struct bern_kernel::mem::queue::mpsc_const::ConstQueue
source · [−]pub struct ConstQueue<T, const N: usize> { /* private fields */ }
Implementations
sourceimpl<T, const N: usize> ConstQueue<T, { N }>
impl<T, const N: usize> ConstQueue<T, { N }>
Trait Implementations
sourceimpl<T, const N: usize> FiFoQueue<T, N> for ConstQueue<T, { N }>
impl<T, const N: usize> FiFoQueue<T, N> for ConstQueue<T, { N }>
fn try_push_back(&self, item: T) -> Result<(), QueueError>
fn try_pop_front(&self) -> Result<T, QueueError> where
T: Copy,
fn free(&self) -> usize
fn capacity(&self) -> usize
impl<T, const N: usize> Sync for ConstQueue<T, { N }>
impl<T, const N: usize> SyncProducer for ConstQueue<T, { N }>
Auto Trait Implementations
impl<T, const N: usize> !RefUnwindSafe for ConstQueue<T, N>
impl<T, const N: usize> Send for ConstQueue<T, N> where
T: Send,
impl<T, const N: usize> Unpin for ConstQueue<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for ConstQueue<T, N> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more