pub struct NonBlocking<'a> { /* private fields */ }
Expand description
A strategy that uses polling to efficiently wait for an event.
Trait Implementations§
source§impl<'a> Clone for NonBlocking<'a>
impl<'a> Clone for NonBlocking<'a>
source§fn clone(&self) -> NonBlocking<'a>
fn clone(&self) -> NonBlocking<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for NonBlocking<'a>
impl<'a> Debug for NonBlocking<'a>
source§impl<'a> Default for NonBlocking<'a>
impl<'a> Default for NonBlocking<'a>
source§fn default() -> NonBlocking<'a>
fn default() -> NonBlocking<'a>
Returns the “default value” for a type. Read more
source§impl<'a> Hash for NonBlocking<'a>
impl<'a> Hash for NonBlocking<'a>
source§impl<'a> Ord for NonBlocking<'a>
impl<'a> Ord for NonBlocking<'a>
source§fn cmp(&self, other: &NonBlocking<'a>) -> Ordering
fn cmp(&self, other: &NonBlocking<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for NonBlocking<'a>
impl<'a> PartialEq for NonBlocking<'a>
source§impl<'a> PartialOrd for NonBlocking<'a>
impl<'a> PartialOrd for NonBlocking<'a>
source§impl<'a, 'evl> Strategy<'evl> for NonBlocking<'a>
impl<'a, 'evl> Strategy<'evl> for NonBlocking<'a>
source§type Future = EventListener
type Future = EventListener
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<'a> Copy for NonBlocking<'a>
impl<'a> Eq for NonBlocking<'a>
impl<'a> StructuralPartialEq for NonBlocking<'a>
Auto Trait Implementations§
impl<'a> Freeze for NonBlocking<'a>
impl<'a> RefUnwindSafe for NonBlocking<'a>
impl<'a> Send for NonBlocking<'a>
impl<'a> Sync for NonBlocking<'a>
impl<'a> Unpin for NonBlocking<'a>
impl<'a> !UnwindSafe for NonBlocking<'a>
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
)