pub struct Blocking { /* private fields */ }
Expand description
A strategy that blocks the current thread until the event is signalled.
Trait Implementations§
source§impl Ord for Blocking
impl Ord for Blocking
source§impl PartialOrd for Blocking
impl PartialOrd for Blocking
source§impl<'evl> Strategy<'evl> for Blocking
impl<'evl> Strategy<'evl> for Blocking
source§type Future = Ready
type Future = Ready
The future returned by the
Strategy::wait
method.source§fn wait(&mut self, evl: EventListener) -> Self::Future
fn wait(&mut self, evl: EventListener) -> Self::Future
Wait for the event listener to become ready.
impl Copy for Blocking
impl Eq for Blocking
impl StructuralPartialEq for Blocking
Auto Trait Implementations§
impl Freeze for Blocking
impl RefUnwindSafe for Blocking
impl Send for Blocking
impl Sync for Blocking
impl Unpin for Blocking
impl UnwindSafe for Blocking
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)