#[non_exhaustive]pub enum NetworkObservation {
Event(NetworkEvent),
Reconciled {
previous: NetworkEvent,
current: NetworkEvent,
},
}Expand description
An ordered event or a new atomic baseline after this observer overflowed. Reconciliation identifies a delivery gap; it does not replay missed events.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Event(NetworkEvent)
An original event, including the first atomic Initial baseline.
Reconciled
The last event delivered before a gap and the replacement’s Initial. Compare loss epochs only within one generation; a changed generation requires a new application baseline. Delivery does not imply that work dispatched by the previous callback has finished.
Trait Implementations§
Source§impl Clone for NetworkObservation
impl Clone for NetworkObservation
Auto Trait Implementations§
impl !RefUnwindSafe for NetworkObservation
impl !UnwindSafe for NetworkObservation
impl Freeze for NetworkObservation
impl Send for NetworkObservation
impl Sync for NetworkObservation
impl Unpin for NetworkObservation
impl UnsafeUnpin for NetworkObservation
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