pub enum TaskLeaseError {
Sign(WireError),
Apply(FoldError),
}Expand description
Error from a lease op: signing/encoding or a fold-runtime apply
failure (distinct from a clean TaskLeaseOutcome::Contended).
Variants§
Sign(WireError)
Signing / encoding the reservation announcement failed.
Apply(FoldError)
The fold runtime refused the apply (decode / dispatch level).
Trait Implementations§
Source§impl Debug for TaskLeaseError
impl Debug for TaskLeaseError
Source§impl Display for TaskLeaseError
impl Display for TaskLeaseError
Source§impl Error for TaskLeaseError
impl Error for TaskLeaseError
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 From<FoldError> for TaskLeaseError
impl From<FoldError> for TaskLeaseError
Auto Trait Implementations§
impl Freeze for TaskLeaseError
impl RefUnwindSafe for TaskLeaseError
impl Send for TaskLeaseError
impl Sync for TaskLeaseError
impl Unpin for TaskLeaseError
impl UnsafeUnpin for TaskLeaseError
impl UnwindSafe for TaskLeaseError
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