pub enum Array<T> {
Array(ArraySpsc<T>),
One(OneSpsc<T>),
}Expand description
Flavor Type for bounded SPSC channel
Variants§
Implementations§
Trait Implementations§
Source§impl<T> FlavorBounded for Array<T>
impl<T> FlavorBounded for Array<T>
fn new_with_bound(size: usize) -> Self
Auto Trait Implementations§
impl<T> !Freeze for Array<T>
impl<T> !RefUnwindSafe for Array<T>
impl<T> Send for Array<T>
impl<T> Sync for Array<T>
impl<T> Unpin for Array<T>where
T: Unpin,
impl<T> UnsafeUnpin for Array<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Array<T>where
T: 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