pub enum OperationKind {
Show 25 variants
CreateStore,
RenameStore,
AddDevice,
SetRole,
SetAccess,
RemoveMember,
RemoveDevice,
RenameCircle,
RemoveCircleMember,
RetainSequence,
RetainFiles,
WriteSnapshot,
SchemaChange,
Reset,
ReloadFromSnapshot,
RequiredReload,
RotateKey,
SendKeyCopy,
CreateCircle,
AddCircleMember,
DeleteCircle,
Invite,
RevokeAccess,
ReplaceMemberKeys,
StorageSetup,
}Expand description
The purpose of an unfinished operation, including maintenance.
Variants§
CreateStore
Create the store’s first slot.
RenameStore
Set the store name.
AddDevice
Register this installation.
SetRole
Set a member’s role.
SetAccess
Replace provider access.
RemoveMember
Remove a member.
RemoveDevice
Remove an installation.
RenameCircle
Rename a circle.
RemoveCircleMember
Remove a circle member.
RetainSequence
Advance the floor and delete the covered prefix.
RetainFiles
Delete unreferenced files after establishing retained-object protection.
WriteSnapshot
Write and verify a maintenance snapshot.
SchemaChange
Publish the app’s migrated schema and its audience snapshots.
Reset
Snapshot this device and reset one audience to that state.
ReloadFromSnapshot
Reload snapshots at the app’s request, keeping waiting writes.
RequiredReload
Reload what sync requires: a changed schema or reset, a returning circle, joining or recovery.
RotateKey
Publish a fresh audience key and its sealed copies.
SendKeyCopy
Send an older audience key to a current member whose sealing key has no copy of it.
CreateCircle
Create a circle and its first key.
AddCircleMember
Seal a circle’s history to a member.
DeleteCircle
Publish a circle’s deletion; its rows are taken out from that slot (§15.9).
Invite
Share storage and settle an invitation.
RevokeAccess
Align one provider account’s grants with members and open invitations.
ReplaceMemberKeys
Replace a member’s signing and sealing pair: this member’s own, with a candidate kept in identity custody, or a prepared pair as an admin (§10).
StorageSetup
Set up storage on this device: check the provider, then create the store or reconnect to it (§11.6, §20.8).
Implementations§
Trait Implementations§
Source§impl Clone for OperationKind
impl Clone for OperationKind
Source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OperationKind
impl Debug for OperationKind
Source§impl<'de> Deserialize<'de> for OperationKind
impl<'de> Deserialize<'de> for OperationKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl FromSql for OperationKind
Reads coven_operations.kind.
impl FromSql for OperationKind
Reads coven_operations.kind.
Source§fn column_result(value: ValueRef<'_>) -> Result<OperationKind, FromSqlError>
fn column_result(value: ValueRef<'_>) -> Result<OperationKind, FromSqlError>
Source§impl Ord for OperationKind
impl Ord for OperationKind
Source§fn cmp(&self, other: &OperationKind) -> Ordering
fn cmp(&self, other: &OperationKind) -> 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 OperationKind
impl PartialEq for OperationKind
Source§impl PartialOrd for OperationKind
impl PartialOrd for OperationKind
Source§impl Serialize for OperationKind
impl Serialize for OperationKind
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 Copy for OperationKind
impl Eq for OperationKind
impl StructuralPartialEq for OperationKind
Auto Trait Implementations§
impl Freeze for OperationKind
impl RefUnwindSafe for OperationKind
impl Send for OperationKind
impl Sync for OperationKind
impl Unpin for OperationKind
impl UnsafeUnpin for OperationKind
impl UnwindSafe for OperationKind
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