[−][src]Struct bbqueue::cm_mutex::BBBuffer
A backing structure for a BBQueue. Can be used to create either a BBQueue or a split Producer/Consumer pair
Methods
impl<'a, N> BBBuffer<N> where
N: ArrayLength<u8>, [src]
N: ArrayLength<u8>,
pub fn try_split(&'a self) -> Result<(Producer<'a, N>, Consumer<'a, N>)>[src]
NOTE: Takes a critical section while splitting
impl<N> BBBuffer<N> where
N: ArrayLength<u8>, [src]
N: ArrayLength<u8>,
pub fn capacity(&self) -> usize[src]
Returns the size of the backing storage.
This is the maximum number of bytes that can be stored in this queue.
impl<N> BBBuffer<N> where
N: ArrayLength<u8>, [src]
N: ArrayLength<u8>,
Auto Trait Implementations
impl<N> Send for BBBuffer<N>
impl<N> Sync for BBBuffer<N>
impl<N> Unpin for BBBuffer<N> where
<N as ArrayLength<u8>>::ArrayType: Unpin,
<N as ArrayLength<u8>>::ArrayType: Unpin,
impl<N> UnwindSafe for BBBuffer<N> where
<N as ArrayLength<u8>>::ArrayType: UnwindSafe,
<N as ArrayLength<u8>>::ArrayType: UnwindSafe,
impl<N> !RefUnwindSafe for BBBuffer<N>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self