pub enum PendingReason {
Show 20 variants
Missing {
path: ObjectPath,
},
Waits(Prerequisite),
KeyUnavailable {
audience: Audience,
key: KeyId,
},
UpdateRequired(RequiredUpdate),
NoStorage,
Storage {
provider: CloudProvider,
failure: StorageFailure,
answered: bool,
},
Refused(Refusal),
WritesRefused {
cutoff: Slot,
cause: WriteCutoff,
},
ProviderPending {
action: ProviderAccessAction,
account: String,
},
AccountInUse {
account: String,
},
AccessRemains {
account: String,
shares: Vec<RetainedAccess>,
},
FileUnavailable(FileMissingReason),
Original {
path: PathBuf,
failure: FileSourceFailure,
},
Failed(LocalFailure),
Rejected(OperationRejection),
Cleanup {
operation: Box<PendingReason>,
cleanup: Box<PendingReason>,
},
Paused,
Removed,
NotAdmitted,
MemberKeysReplaced {
member: MemberId,
},
}Expand description
A typed current condition, never an error’s display string.
Variants§
Missing
The named object has not arrived.
Fields
path: ObjectPathThe storage path.
Waits(Prerequisite)
An earlier prerequisite remains unmet.
No usable copy of a required key has arrived.
UpdateRequired(RequiredUpdate)
Processing requires a supported schema or format.
NoStorage
No storage is connected.
Storage
A classified provider failure.
Fields
provider: CloudProviderThe provider.
failure: StorageFailureThe classification, without a process-local cause.
Refused(Refusal)
Complete immutable bytes failed a check.
WritesRefused
Writes consumed after a permanent lower-slot cut-off.
Fields
cause: WriteCutoffThe event that excluded the original author.
ProviderPending
A provider has accepted work that is still waiting.
AccountInUse
Another member or invite still needs this account.
AccessRemains
Revocation retained grants requiring owner action.
The uploading device cannot supply this file.
Original
A user’s original a move uploads is missing, and the move waits for it, or changed, and the move failed (§17.3).
Failed(LocalFailure)
A local failure prevented progress.
Rejected(OperationRejection)
The action was refused; an enclosing cleanup may still be owed (§11.3).
Cleanup
Both the initiating failure and the failure preventing undo (§11.3).
Fields
operation: Box<PendingReason>The failure that made cleanup necessary.
cleanup: Box<PendingReason>The current condition preventing cleanup.
Paused
Work awaits the app’s next action, such as approval or resuming a transfer.
Removed
This installation was removed.
NotAdmitted
The admission that published this joined store was refused (§13.2).
MemberKeysReplaced
Sending needs this stable member’s current credentials, which this installation does not hold (§14.1).
Trait Implementations§
Source§impl Clone for PendingReason
impl Clone for PendingReason
Source§fn clone(&self) -> PendingReason
fn clone(&self) -> PendingReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PendingReason
impl Debug for PendingReason
Source§impl<'de> Deserialize<'de> for PendingReason
impl<'de> Deserialize<'de> for PendingReason
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for PendingReason
impl PartialEq for PendingReason
Source§impl Serialize for PendingReason
impl Serialize for PendingReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for PendingReason
impl StructuralPartialEq for PendingReason
Auto Trait Implementations§
impl Freeze for PendingReason
impl !RefUnwindSafe for PendingReason
impl Send for PendingReason
impl Sync for PendingReason
impl Unpin for PendingReason
impl UnsafeUnpin for PendingReason
impl !UnwindSafe for PendingReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§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>
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>
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