Struct async_unsync::semaphore::AcquireError
source · pub struct AcquireError(_);Expand description
An error which can occur when a Semaphore has been closed.
Trait Implementations§
source§impl Clone for AcquireError
impl Clone for AcquireError
source§fn clone(&self) -> AcquireError
fn clone(&self) -> AcquireError
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 AcquireError
impl Debug for AcquireError
source§impl Display for AcquireError
impl Display for AcquireError
source§impl Error for AcquireError
impl Error for AcquireError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<AcquireError> for AcquireError
impl PartialEq<AcquireError> for AcquireError
source§fn eq(&self, other: &AcquireError) -> bool
fn eq(&self, other: &AcquireError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<AcquireError> for AcquireError
impl PartialOrd<AcquireError> for AcquireError
source§fn partial_cmp(&self, other: &AcquireError) -> Option<Ordering>
fn partial_cmp(&self, other: &AcquireError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for AcquireError
impl StructuralPartialEq for AcquireError
Auto Trait Implementations§
impl RefUnwindSafe for AcquireError
impl Send for AcquireError
impl Sync for AcquireError
impl Unpin for AcquireError
impl UnwindSafe for AcquireError
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