pub enum CutOffRefusal {
DeviceNotGone,
NotStoreOwner,
NoAccountShared,
}Expand description
Why confirm_device_cut_off refused (§14.2, §20.9). Each is a reason the
call can’t change anything; the app tells the person which one.
Variants§
DeviceNotGone
The applied history doesn’t have the device gone for good: its removal hasn’t reached this device yet, or it was never removed. After the next pass has read the removal the call can succeed.
NotStoreOwner
The member whose device this is doesn’t hold the store: another member’s account does, and only their devices change sharing. The call can’t succeed here.
The store is on S3, where no account is shared, so there is nothing to take back. The call can’t succeed.
Trait Implementations§
Source§impl Clone for CutOffRefusal
impl Clone for CutOffRefusal
Source§fn clone(&self) -> CutOffRefusal
fn clone(&self) -> CutOffRefusal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CutOffRefusal
impl Debug for CutOffRefusal
Source§impl From<CutOffRefusal> for SyncError
impl From<CutOffRefusal> for SyncError
Source§fn from(refusal: CutOffRefusal) -> SyncError
fn from(refusal: CutOffRefusal) -> SyncError
Converts to this type from the input type.
Source§impl PartialEq for CutOffRefusal
impl PartialEq for CutOffRefusal
impl Copy for CutOffRefusal
impl Eq for CutOffRefusal
impl StructuralPartialEq for CutOffRefusal
Auto Trait Implementations§
impl Freeze for CutOffRefusal
impl RefUnwindSafe for CutOffRefusal
impl Send for CutOffRefusal
impl Sync for CutOffRefusal
impl Unpin for CutOffRefusal
impl UnsafeUnpin for CutOffRefusal
impl UnwindSafe for CutOffRefusal
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
Mutably borrows from an owned value. Read more
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.