pub struct EncodeStats {
pub spans_written: usize,
pub spans_dropped: usize,
}Expand description
Statistics reported by encode_traces.
Fields§
§spans_written: usizeNumber of spans successfully written to out.
spans_dropped: usizeNumber of spans dropped because a single span exceeded max_line_size.
Trait Implementations§
Source§impl Clone for EncodeStats
impl Clone for EncodeStats
Source§fn clone(&self) -> EncodeStats
fn clone(&self) -> EncodeStats
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 EncodeStats
Source§impl Debug for EncodeStats
impl Debug for EncodeStats
Source§impl Default for EncodeStats
impl Default for EncodeStats
Source§fn default() -> EncodeStats
fn default() -> EncodeStats
Returns the “default value” for a type. Read more
impl Eq for EncodeStats
Source§impl PartialEq for EncodeStats
impl PartialEq for EncodeStats
impl StructuralPartialEq for EncodeStats
Auto Trait Implementations§
impl Freeze for EncodeStats
impl RefUnwindSafe for EncodeStats
impl Send for EncodeStats
impl Sync for EncodeStats
impl Unpin for EncodeStats
impl UnsafeUnpin for EncodeStats
impl UnwindSafe for EncodeStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.