Struct console_api::async_ops::AsyncOpUpdate
source · pub struct AsyncOpUpdate {
pub new_async_ops: Vec<AsyncOp>,
pub stats_update: HashMap<u64, Stats>,
pub dropped_events: u64,
}
Expand description
An AsyncOp
state update.
This includes a list of any new async ops, and updates to the associated statistics for any async ops that have changed since the last update.
Fields§
§new_async_ops: Vec<AsyncOp>
A list of new async operations that were created since the last AsyncOpUpdate
was sent. Note that the fact that an async operation has been created
does not mean that is has been polled or is being polled. This information
is reflected in the Stats
of the operation.
stats_update: HashMap<u64, Stats>
Any async op stats that have changed since the last update.
dropped_events: u64
A count of how many async op events (e.g. polls, creation, etc) were not recorded because the application’s event buffer was at capacity.
If everything is working normally, this should be 0. If it is greater than 0, that may indicate that some data is missing from this update, and it may be necessary to increase the number of events buffered by the application to ensure that data loss is avoided.
If the application’s instrumentation ensures reliable delivery of events, this will always be 0.
Trait Implementations§
source§impl Clone for AsyncOpUpdate
impl Clone for AsyncOpUpdate
source§fn clone(&self) -> AsyncOpUpdate
fn clone(&self) -> AsyncOpUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AsyncOpUpdate
impl Debug for AsyncOpUpdate
source§impl Default for AsyncOpUpdate
impl Default for AsyncOpUpdate
source§impl Message for AsyncOpUpdate
impl Message for AsyncOpUpdate
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for AsyncOpUpdate
impl PartialEq for AsyncOpUpdate
source§fn eq(&self, other: &AsyncOpUpdate) -> bool
fn eq(&self, other: &AsyncOpUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AsyncOpUpdate
Auto Trait Implementations§
impl RefUnwindSafe for AsyncOpUpdate
impl Send for AsyncOpUpdate
impl Sync for AsyncOpUpdate
impl Unpin for AsyncOpUpdate
impl UnwindSafe for AsyncOpUpdate
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request