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§impl Debug for PassFailure
impl Debug for PassFailure
Source§impl From<PassFailure> for LastPass
impl From<PassFailure> for LastPass
Source§fn from(failure: PassFailure) -> Self
fn from(failure: PassFailure) -> Self
Converts to this type from the input type.
Source§impl From<PassFailure> for RetryOutcome
impl From<PassFailure> for RetryOutcome
Source§fn from(failure: PassFailure) -> Self
fn from(failure: PassFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PassFailure
impl !UnwindSafe for PassFailure
impl Freeze for PassFailure
impl Send for PassFailure
impl Sync for PassFailure
impl Unpin for PassFailure
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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.