pub enum OperationRejection {
StoreOwner,
TargetGone(EntryTarget),
NoAdminLeft,
KeysAlreadyUsed,
MemberKeysChanged(MemberId),
NotAllowed,
AdmissionTooLarge,
}Expand description
Why the current applied state refuses an administrative operation.
Variants§
StoreOwner
The provider account owns the store: its member can’t be removed, and their access can’t move to another account (§10.1): OneDrive and CloudKit can’t hand a store to another account, and coven doesn’t use Dropbox’s ownership transfer (bae-fm/coven#237).
TargetGone(EntryTarget)
The target is absent, removed, or cannot be reused.
NoAdminLeft
The resulting store would have no active admin.
KeysAlreadyUsed
Either proposed public key was already bound.
MemberKeysChanged(MemberId)
Another replacement changed the expected binding.
NotAllowed
The author’s device, membership or role does not permit this change, or, for a snapshot, this device’s raise of its audience has not landed yet (§16.2).
AdmissionTooLarge
The admission approving a join would carry a copy of every store key in history, more than one slot holds (format.md D2): about 22,000 keys, one per removal or exposed key (§13.2).
Trait Implementations§
Source§impl Clone for OperationRejection
impl Clone for OperationRejection
Source§fn clone(&self) -> OperationRejection
fn clone(&self) -> OperationRejection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OperationRejection
impl Debug for OperationRejection
Source§impl<'de> Deserialize<'de> for OperationRejection
impl<'de> Deserialize<'de> for OperationRejection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationRejection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationRejection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<OperationRejection> for SyncError
impl From<OperationRejection> for SyncError
Source§fn from(reason: OperationRejection) -> SyncError
fn from(reason: OperationRejection) -> SyncError
Source§impl PartialEq for OperationRejection
impl PartialEq for OperationRejection
Source§impl Serialize for OperationRejection
impl Serialize for OperationRejection
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 OperationRejection
impl StructuralPartialEq for OperationRejection
Auto Trait Implementations§
impl Freeze for OperationRejection
impl RefUnwindSafe for OperationRejection
impl Send for OperationRejection
impl Sync for OperationRejection
impl Unpin for OperationRejection
impl UnsafeUnpin for OperationRejection
impl UnwindSafe for OperationRejection
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