Struct parking_lot::WaitTimeoutResult
source · pub struct WaitTimeoutResult(bool);
Expand description
A type indicating whether a timed wait on a condition variable returned due to a time out or not.
Tuple Fields§
§0: bool
Implementations§
Trait Implementations§
source§impl Clone for WaitTimeoutResult
impl Clone for WaitTimeoutResult
source§fn clone(&self) -> WaitTimeoutResult
fn clone(&self) -> WaitTimeoutResult
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 Debug for WaitTimeoutResult
impl Debug for WaitTimeoutResult
source§impl PartialEq for WaitTimeoutResult
impl PartialEq for WaitTimeoutResult
source§fn eq(&self, other: &WaitTimeoutResult) -> bool
fn eq(&self, other: &WaitTimeoutResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WaitTimeoutResult
impl Eq for WaitTimeoutResult
impl StructuralPartialEq for WaitTimeoutResult
Auto Trait Implementations§
impl Freeze for WaitTimeoutResult
impl RefUnwindSafe for WaitTimeoutResult
impl Send for WaitTimeoutResult
impl Sync for WaitTimeoutResult
impl Unpin for WaitTimeoutResult
impl UnwindSafe for WaitTimeoutResult
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