pub enum ExecutionLeaseError {
AlreadyLeased,
WrongOwner,
ConfigurationChanged,
OwnerDropped,
ExpiredWork,
}Expand description
Why an execution lease, work scope or source borrow was refused. Admission/acceptance failures have no geometry or diagnostic side effects.
Variants§
Trait Implementations§
Source§impl Clone for ExecutionLeaseError
impl Clone for ExecutionLeaseError
Source§fn clone(&self) -> ExecutionLeaseError
fn clone(&self) -> ExecutionLeaseError
Returns a duplicate 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 ExecutionLeaseError
impl Debug for ExecutionLeaseError
Source§impl Display for ExecutionLeaseError
impl Display for ExecutionLeaseError
Source§impl Error for ExecutionLeaseError
impl Error for ExecutionLeaseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for ExecutionLeaseError
impl PartialEq for ExecutionLeaseError
impl Copy for ExecutionLeaseError
impl Eq for ExecutionLeaseError
impl StructuralPartialEq for ExecutionLeaseError
Auto Trait Implementations§
impl Freeze for ExecutionLeaseError
impl RefUnwindSafe for ExecutionLeaseError
impl Send for ExecutionLeaseError
impl Sync for ExecutionLeaseError
impl Unpin for ExecutionLeaseError
impl UnwindSafe for ExecutionLeaseError
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