#[repr(C)]pub struct aws_crt_statistics_handler {
pub vtable: *mut aws_crt_statistics_handler_vtable,
pub allocator: *mut aws_allocator,
pub impl_: *mut c_void,
}
Expand description
Base structure for all statistics handler implementations.
A statistics handler is an object that listens to a stream of polymorphic (via the category RTTI enum) statistics structures emitted from some arbitrary source. In the initial implementation, statistics handlers are primarily attached to channels, where they monitor IO throughput and state data (from channel handlers) to determine a connection’s health.
Statistics handlers are a generalization of the timeout and bandwidth filters that are often associated with SDK network connections. Configurable, default implementations are defined at the protocol level (http, etc…) where they can be attached at connection (channel) creation time.
Fields
vtable: *mut aws_crt_statistics_handler_vtable
allocator: *mut aws_allocator
impl_: *mut c_void
Trait Implementations
sourceimpl Clone for aws_crt_statistics_handler
impl Clone for aws_crt_statistics_handler
sourcefn clone(&self) -> aws_crt_statistics_handler
fn clone(&self) -> aws_crt_statistics_handler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_crt_statistics_handler
impl Debug for aws_crt_statistics_handler
sourceimpl Default for aws_crt_statistics_handler
impl Default for aws_crt_statistics_handler
sourceimpl PartialEq<aws_crt_statistics_handler> for aws_crt_statistics_handler
impl PartialEq<aws_crt_statistics_handler> for aws_crt_statistics_handler
sourcefn eq(&self, other: &aws_crt_statistics_handler) -> bool
fn eq(&self, other: &aws_crt_statistics_handler) -> bool
impl Copy for aws_crt_statistics_handler
impl Eq for aws_crt_statistics_handler
impl StructuralEq for aws_crt_statistics_handler
impl StructuralPartialEq for aws_crt_statistics_handler
Auto Trait Implementations
impl RefUnwindSafe for aws_crt_statistics_handler
impl !Send for aws_crt_statistics_handler
impl !Sync for aws_crt_statistics_handler
impl Unpin for aws_crt_statistics_handler
impl UnwindSafe for aws_crt_statistics_handler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more