pub enum PassFailure {
Offline {
error: Arc<StorageError>,
},
Blocked {
slot: Slot,
reason: PendingReason,
error: Option<String>,
},
Failed {
error: SyncFailure,
},
}Expand description
Why a pass, or the connection attempt that begins one, failed: how it
ended (LastPass, E5).
Variants§
Offline
The request preventing the pass received no usable provider response.
Fields
§
error: Arc<StorageError>The network failure and its original cause.
Blocked
This slot invokes §5.4’s stuck-device rule.
Fields
§
reason: PendingReasonWhy it cannot apply.
Failed
Storage refused the whole pass, or coven’s own operation failed.
Fields
§
error: SyncFailureThe failure and its original cause.
Trait Implementations§
Source§impl Clone for PassFailure
impl Clone for PassFailure
Source§fn clone(&self) -> PassFailure
fn clone(&self) -> PassFailure
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 PassFailure
impl Debug for PassFailure
Source§impl From<PassFailure> for LastPass
impl From<PassFailure> for LastPass
Source§fn from(failure: PassFailure) -> LastPass
fn from(failure: PassFailure) -> LastPass
Converts to this type from the input type.
Source§impl From<PassFailure> for RetryOutcome
impl From<PassFailure> for RetryOutcome
Source§fn from(failure: PassFailure) -> RetryOutcome
fn from(failure: PassFailure) -> RetryOutcome
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PassFailure
impl !RefUnwindSafe for PassFailure
impl Send for PassFailure
impl Sync for PassFailure
impl Unpin for PassFailure
impl UnsafeUnpin for PassFailure
impl !UnwindSafe for PassFailure
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreCreates a shared type from an unshared type.