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§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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) -> Self
fn from(outcome: ChangeOutcome) -> Self
Source§impl FromSql for ChangeOutcome
impl FromSql for ChangeOutcome
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Source§impl PartialEq for ChangeOutcome
impl PartialEq for ChangeOutcome
Source§impl Serialize for ChangeOutcome
impl Serialize for ChangeOutcome
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
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.