pub enum AckOutcome {
Committed(u64),
AlreadyCommitted(u64),
EmbeddedNoop,
Stale(u64),
}Expand description
Result of an ack ([ack]).
Variants§
Committed(u64)
The trial bundle is now committed and last-good.
AlreadyCommitted(u64)
Steady state: the booted bundle was already committed (every launch
calls notifyAppReady, and the call is idempotent).
EmbeddedNoop
Serving embedded — nothing to commit.
Stale(u64)
The booted seq no longer matches the on-disk booting pointer (e.g.
a reset() ran mid-session). Refusing to commit is the safe answer.
Trait Implementations§
Source§impl Clone for AckOutcome
impl Clone for AckOutcome
Source§fn clone(&self) -> AckOutcome
fn clone(&self) -> AckOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AckOutcome
Source§impl Debug for AckOutcome
impl Debug for AckOutcome
impl Eq for AckOutcome
Source§impl PartialEq for AckOutcome
impl PartialEq for AckOutcome
impl StructuralPartialEq for AckOutcome
Auto Trait Implementations§
impl Freeze for AckOutcome
impl RefUnwindSafe for AckOutcome
impl Send for AckOutcome
impl Sync for AckOutcome
impl Unpin for AckOutcome
impl UnsafeUnpin for AckOutcome
impl UnwindSafe for AckOutcome
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.