pub enum PendingSubject {
Write(WriteId),
Slot(Slot),
KeyCopy {
audience: Audience,
key: KeyId,
member: MemberId,
sealing: SealingKey,
},
Snapshot(SnapshotId),
Upload {
device: DeviceId,
object: ObjectId,
},
Download {
device: DeviceId,
object: ObjectId,
},
Keep {
file: FileId,
},
Move {
id: MoveId,
},
Operation {
id: OperationId,
kind: OperationKind,
},
Retention {
path: ObjectPath,
},
Audience(Audience),
Connection,
}Expand description
Stable identities of work, independent of attempts and wall-clock time.
Variants§
Write(WriteId)
A numbered write.
Slot(Slot)
A position in the store sequence.
KeyCopy
A sealed key addressed to a member.
Fields
sealing: SealingKeyThe recipient’s exact sealing credential (D9, Key copies).
Snapshot(SnapshotId)
A numbered snapshot.
Upload
This device’s upload of a stored object, and its reads of its staged original while the upload waits.
Download
This device’s downloads of a stored object, for an app’s pins: a read’s failure goes to its caller and leaves no record (§17.7).
Keep
A file a switch to the cloud asked this device to keep whole, which coven downloads itself: its pin is work coven drives, not an app call’s (§17.8).
Move
A move of this device’s files to the cloud: the files one write staged for the cloud, or the files the app moved (§17.3).
Operation
An unfinished journal row.
Retention
A physical object waiting for safe deletion.
Fields
path: ObjectPathThe storage path.
Audience(Audience)
An audience that requires dependent work.
Connection
The local storage connection.
Trait Implementations§
Source§impl Clone for PendingSubject
impl Clone for PendingSubject
Source§fn clone(&self) -> PendingSubject
fn clone(&self) -> PendingSubject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PendingSubject
impl Debug for PendingSubject
Source§impl<'de> Deserialize<'de> for PendingSubject
impl<'de> Deserialize<'de> for PendingSubject
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingSubject, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingSubject, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Ord for PendingSubject
impl Ord for PendingSubject
Source§fn cmp(&self, other: &PendingSubject) -> Ordering
fn cmp(&self, other: &PendingSubject) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PendingSubject
impl PartialEq for PendingSubject
Source§impl PartialOrd for PendingSubject
impl PartialOrd for PendingSubject
Source§impl Serialize for PendingSubject
impl Serialize for PendingSubject
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 PendingSubject
impl StructuralPartialEq for PendingSubject
Auto Trait Implementations§
impl Freeze for PendingSubject
impl RefUnwindSafe for PendingSubject
impl Send for PendingSubject
impl Sync for PendingSubject
impl Unpin for PendingSubject
impl UnsafeUnpin for PendingSubject
impl UnwindSafe for PendingSubject
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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