Struct async_ach_waker::pool::WakerToken
source · [−]pub struct WakerToken<'a, T, const N: usize> { /* private fields */ }
Implementations
sourceimpl<'a, T, const N: usize> WakerToken<'a, T, N>
impl<'a, T, const N: usize> WakerToken<'a, T, N>
sourcepub fn swap(&self, waker: WakerEntity<T>)
pub fn swap(&self, waker: WakerEntity<T>)
Swap waker
wake it immediately, if is waking.
Trait Implementations
Auto Trait Implementations
impl<'a, T, const N: usize> !RefUnwindSafe for WakerToken<'a, T, N>
impl<'a, T, const N: usize> Send for WakerToken<'a, T, N> where
T: Sync,
impl<'a, T, const N: usize> Sync for WakerToken<'a, T, N> where
T: Sync,
impl<'a, T, const N: usize> Unpin for WakerToken<'a, T, N>
impl<'a, T, const N: usize> !UnwindSafe for WakerToken<'a, T, N>
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