pub enum TryAcquireResult {
Acquired,
Limited {
wait_duration: Duration,
},
}Variants§
Trait Implementations§
Source§impl Clone for TryAcquireResult
impl Clone for TryAcquireResult
Source§fn clone(&self) -> TryAcquireResult
fn clone(&self) -> TryAcquireResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TryAcquireResult
impl Debug for TryAcquireResult
Source§impl PartialEq for TryAcquireResult
impl PartialEq for TryAcquireResult
Source§fn eq(&self, other: &TryAcquireResult) -> bool
fn eq(&self, other: &TryAcquireResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TryAcquireResult
impl StructuralPartialEq for TryAcquireResult
Auto Trait Implementations§
impl Freeze for TryAcquireResult
impl RefUnwindSafe for TryAcquireResult
impl Send for TryAcquireResult
impl Sync for TryAcquireResult
impl Unpin for TryAcquireResult
impl UnsafeUnpin for TryAcquireResult
impl UnwindSafe for TryAcquireResult
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