Struct event_listener_strategy::Blocking
source · 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 PartialEq for Blocking
impl PartialEq for Blocking
source§impl PartialOrd for Blocking
impl PartialOrd for Blocking
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'evl> Strategy<'evl> for Blocking
impl<'evl> Strategy<'evl> for Blocking
§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