#[non_exhaustive]pub struct ConnectionRecovery<F> {
pub epoch: ConnectionEpoch,
pub operations: Vec<RecoveredOperation<F>>,
pub unmatched_writes: Vec<DiscardedWrite<F>>,
pub ownership_diverged: bool,
}Expand description
Bounded recovery contents for one fixed connection epoch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.epoch: ConnectionEpochExact epoch that permanently owned the operations.
operations: Vec<RecoveredOperation<F>>Nonterminal operations in original wire order.
unmatched_writes: Vec<DiscardedWrite<F>>Writer-owned frames that had no exact policy record.
ownership_diverged: boolPolicy records and frame ownership disagreed during recovery.
Trait Implementations§
Source§impl<F: Clone> Clone for ConnectionRecovery<F>
impl<F: Clone> Clone for ConnectionRecovery<F>
Source§impl<F: Debug> Debug for ConnectionRecovery<F>
impl<F: Debug> Debug for ConnectionRecovery<F>
impl<F: Eq> Eq for ConnectionRecovery<F>
Source§impl<F: PartialEq> PartialEq for ConnectionRecovery<F>
impl<F: PartialEq> PartialEq for ConnectionRecovery<F>
impl<F: PartialEq> StructuralPartialEq for ConnectionRecovery<F>
Auto Trait Implementations§
impl<F> Freeze for ConnectionRecovery<F>
impl<F> RefUnwindSafe for ConnectionRecovery<F>
impl<F> Send for ConnectionRecovery<F>
impl<F> Sync for ConnectionRecovery<F>
impl<F> Unpin for ConnectionRecovery<F>
impl<F> UnsafeUnpin for ConnectionRecovery<F>
impl<F> UnwindSafe for ConnectionRecovery<F>
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