[−][src]Struct waithandle::WaitHandleListener
The listening half of a wait handle.
Implementations
impl WaitHandleListener
[src]
pub fn check(&self) -> bool
[src]
Checks whether or not the wait handle have been signaled.
pub fn try_check(&self) -> WaitHandleResult<bool>
[src]
Tries checking whether or not the wait handle have been signaled.
pub fn wait(&self, timeout: Duration) -> bool
[src]
Waits until the wait handle have been signaled or the timeout occur, whichever comes first.
pub fn try_wait(&self, timeout: Duration) -> WaitHandleResult<bool>
[src]
Tries waiting until the wait handle have been signaled or the timeout occur, whichever comes first.
Trait Implementations
impl Clone for WaitHandleListener
[src]
fn clone(&self) -> WaitHandleListener
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WaitHandleListener
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WaitHandleListener
impl Send for WaitHandleListener
impl Sync for WaitHandleListener
impl Unpin for WaitHandleListener
impl !UnwindSafe for WaitHandleListener
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,