Enum semaphore::TryAccessError
[−]
[src]
pub enum TryAccessError { Shutdown, NoCapacity, }
Error indicating a failure to acquire access to the resource behind the semaphore.
Returned from Semaphore::try_access
.
Variants
Shutdown
This semaphore has shut down and will no longer grant access to the underlying resource.
NoCapacity
This semaphore has no more capacity to grant further access. Other access needs to be released before this semaphore can grant more.
Trait Implementations
impl Copy for TryAccessError
[src]
impl Clone for TryAccessError
[src]
fn clone(&self) -> TryAccessError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more