pub enum LeaseError {
AlreadyLeased,
ForeignJurisdiction,
}Expand description
Error returned when a lease operation fails.
Variants§
AlreadyLeased
Resource is already leased to another holder.
ForeignJurisdiction
Resource is under foreign jurisdiction.
Trait Implementations§
Source§impl Clone for LeaseError
impl Clone for LeaseError
Source§fn clone(&self) -> LeaseError
fn clone(&self) -> LeaseError
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 LeaseError
impl Debug for LeaseError
Source§impl PartialEq for LeaseError
impl PartialEq for LeaseError
impl Eq for LeaseError
impl StructuralPartialEq for LeaseError
Auto Trait Implementations§
impl Freeze for LeaseError
impl RefUnwindSafe for LeaseError
impl Send for LeaseError
impl Sync for LeaseError
impl Unpin for LeaseError
impl UnwindSafe for LeaseError
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