Struct async_ach_spsc::Spsc
source · [−]pub struct Spsc<T, const N: usize> { /* private fields */ }Implementations
sourceimpl<T: Unpin, const N: usize> Spsc<T, N>
impl<T: Unpin, const N: usize> Spsc<T, N>
pub fn take_sender(&self) -> Option<Sender<'_, T, N>>
pub fn take_recver(&self) -> Option<Receiver<'_, T, N>>
Auto Trait Implementations
impl<T, const N: usize> !RefUnwindSafe for Spsc<T, N>
impl<T, const N: usize> Send for Spsc<T, N> where
T: Send,
impl<T, const N: usize> Sync for Spsc<T, N> where
T: Sync,
impl<T, const N: usize> Unpin for Spsc<T, N> where
T: Unpin,
impl<T, const N: usize> UnwindSafe for Spsc<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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more