pub enum OwnerLivenessError {
Probe(Error),
Identity(ProcessIdentityError),
}Expand description
What: Why an owner’s liveness could not be decided. Why: A refused probe (for example another account’s process) must stop recovery rather than let it touch a transaction that may be live, as the incumbent’s throw does.
In TS you’d write (pseudocode):
class CommitTransactionRecoveryError extends Error {}Variants§
Probe(Error)
The existence probe was refused.
Identity(ProcessIdentityError)
The birth identity could not be read.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OwnerLivenessError
impl !UnwindSafe for OwnerLivenessError
impl Freeze for OwnerLivenessError
impl Send for OwnerLivenessError
impl Sync for OwnerLivenessError
impl Unpin for OwnerLivenessError
impl UnsafeUnpin for OwnerLivenessError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more