pub struct ServerObservation {
pub observation_id: u64,
pub observed_at_unix_ms: u64,
pub dropped_observations: u64,
pub kind: ServerObservationKind,
}Expand description
One item from the server’s bounded, nonblocking observation stream.
observation_id is unique and monotonic but does not define ordering across
concurrent connections. dropped_observations is a batched loss counter
carried by the next item admitted after queue saturation.
Fields§
§observation_id: u64§observed_at_unix_ms: u64§dropped_observations: u64§kind: ServerObservationKindTrait Implementations§
Source§impl Clone for ServerObservation
impl Clone for ServerObservation
Source§fn clone(&self) -> ServerObservation
fn clone(&self) -> ServerObservation
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 moreAuto Trait Implementations§
impl Freeze for ServerObservation
impl RefUnwindSafe for ServerObservation
impl Send for ServerObservation
impl Sync for ServerObservation
impl Unpin for ServerObservation
impl UnsafeUnpin for ServerObservation
impl UnwindSafe for ServerObservation
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