Enum linux_futex::TimedLockError
source · pub enum TimedLockError {
TryAgain,
TimedOut,
}
Variants§
TryAgain
The futex owner thread is about to exit, but has not yet handled the internal state cleanup. Try again.
TimedOut
The timeout expired before the operation completed.
Trait Implementations§
source§impl Clone for TimedLockError
impl Clone for TimedLockError
source§fn clone(&self) -> TimedLockError
fn clone(&self) -> TimedLockError
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 TimedLockError
impl Debug for TimedLockError
source§impl PartialEq for TimedLockError
impl PartialEq for TimedLockError
source§fn eq(&self, other: &TimedLockError) -> bool
fn eq(&self, other: &TimedLockError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimedLockError
impl Eq for TimedLockError
impl StructuralPartialEq for TimedLockError
Auto Trait Implementations§
impl Freeze for TimedLockError
impl RefUnwindSafe for TimedLockError
impl Send for TimedLockError
impl Sync for TimedLockError
impl Unpin for TimedLockError
impl UnwindSafe for TimedLockError
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