Struct heapless::i::Queue[][src]

pub struct Queue<A, U = usize, C = MultiCore> { /* fields omitted */ }

const-fn version of spsc::Queue

Implementations

impl<A> Queue<A, usize, MultiCore>[src]

pub const fn new() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, usize, SingleCore>[src]

pub const unsafe fn new_sc() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, u8, MultiCore>[src]

pub const fn u8() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, u8, SingleCore>[src]

pub const unsafe fn u8_sc() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, u16, MultiCore>[src]

pub const fn u16() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, u16, SingleCore>[src]

pub const unsafe fn u16_sc() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, usize, MultiCore>[src]

pub const fn usize() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

impl<A> Queue<A, usize, SingleCore>[src]

pub const unsafe fn usize_sc() -> Self[src]

spsc::Queue const constructor; wrap the returned value in spsc::Queue

Auto Trait Implementations

impl<A, U = usize, C = MultiCore> !RefUnwindSafe for Queue<A, U, C>

impl<A, U, C> Send for Queue<A, U, C> where
    A: Send,
    C: Send,
    U: Send

impl<A, U = usize, C = MultiCore> !Sync for Queue<A, U, C>

impl<A, U, C> Unpin for Queue<A, U, C> where
    A: Unpin,
    C: Unpin,
    U: Unpin

impl<A, U, C> UnwindSafe for Queue<A, U, C> where
    A: UnwindSafe,
    C: UnwindSafe,
    U: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.