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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for OperationRejection
impl PartialEq for OperationRejection
Source§impl Serialize for OperationRejection
impl Serialize for OperationRejection
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.