#[repr(u8)]pub enum PeerObservation {
NotObserved = 1,
MaybeObserved = 2,
Observed = 3,
}Expand description
Whether a peer may have observed a failed control operation.
This is control-operation metadata, not an application payload receipt.
Variants§
NotObserved = 1
The operation did not reach the peer’s observable state.
MaybeObserved = 2
The sender cannot determine whether the peer observed the operation.
Observed = 3
The peer observed or committed the operation before failure.
Implementations§
Trait Implementations§
Source§impl Clone for PeerObservation
impl Clone for PeerObservation
Source§fn clone(&self) -> PeerObservation
fn clone(&self) -> PeerObservation
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 PeerObservation
Source§impl Debug for PeerObservation
impl Debug for PeerObservation
impl Eq for PeerObservation
Source§impl PartialEq for PeerObservation
impl PartialEq for PeerObservation
impl StructuralPartialEq for PeerObservation
Auto Trait Implementations§
impl Freeze for PeerObservation
impl RefUnwindSafe for PeerObservation
impl Send for PeerObservation
impl Sync for PeerObservation
impl Unpin for PeerObservation
impl UnsafeUnpin for PeerObservation
impl UnwindSafe for PeerObservation
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