pub enum ChangeOutcome {
Landed(Slot),
Satisfied,
Rejected(OperationRejection),
Stopped(DeviceStop),
}Expand description
How an admin change an app’s write journaled ended, for the kinds
RenameStore, SetRole, RemoveMember, RemoveDevice, RenameCircle,
DeleteCircle, AddCircleMember, RemoveCircleMember and
ApproveJoin (§11.4):
coven_operations.outcome holds it from the transaction that ends the
operation’s journal row until a write acknowledges it, so an outcome
nobody awaited is still there to read.
Variants§
Landed(Slot)
Its entry landed at this slot, which this device has applied.
Satisfied
The applied state already had what it asked for, so it claimed no slot (§11.2).
Rejected(OperationRejection)
The applied state refused it once this device had caught up; its preparation was undone (§11.2, §11.3).
Stopped(DeviceStop)
This device stopped for good before the operation ended, so it never will here. Nothing refused it: another device may still make the same change, and for a copy of this installation, the other copy may still land it (§14.1, §19.3).
Trait Implementations§
Source§impl Clone for ChangeOutcome
impl Clone for ChangeOutcome
Source§fn clone(&self) -> ChangeOutcome
fn clone(&self) -> ChangeOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChangeOutcome
impl Debug for ChangeOutcome
Source§impl<'de> Deserialize<'de> for ChangeOutcome
impl<'de> Deserialize<'de> for ChangeOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChangeOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChangeOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ChangeOutcome
Source§impl From<ChangeOutcome> for ListedOutcome
impl From<ChangeOutcome> for ListedOutcome
Source§fn from(outcome: ChangeOutcome) -> ListedOutcome
fn from(outcome: ChangeOutcome) -> ListedOutcome
Source§impl From<EntryOutcome> for ChangeOutcome
An entry’s outcome in ChangeOutcome, the listed outcome type that
holds every way an entry ends.
impl From<EntryOutcome> for ChangeOutcome
An entry’s outcome in ChangeOutcome, the listed outcome type that
holds every way an entry ends.
Source§fn from(outcome: EntryOutcome) -> ChangeOutcome
fn from(outcome: EntryOutcome) -> ChangeOutcome
Source§impl FromSql for ChangeOutcome
impl FromSql for ChangeOutcome
Source§fn column_result(value: ValueRef<'_>) -> Result<ChangeOutcome, FromSqlError>
fn column_result(value: ValueRef<'_>) -> Result<ChangeOutcome, FromSqlError>
Source§impl PartialEq for ChangeOutcome
impl PartialEq for ChangeOutcome
Source§impl Serialize for ChangeOutcome
impl Serialize for ChangeOutcome
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 StructuralPartialEq for ChangeOutcome
Auto Trait Implementations§
impl Freeze for ChangeOutcome
impl RefUnwindSafe for ChangeOutcome
impl Send for ChangeOutcome
impl Sync for ChangeOutcome
impl Unpin for ChangeOutcome
impl UnsafeUnpin for ChangeOutcome
impl UnwindSafe for ChangeOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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