pub struct Stats { /* private fields */ }Implementations§
Source§impl Stats
impl Stats
pub fn on_operation<T, F>(&self, res: &Poll<Result<T>>, count_packets: F)
pub fn on_operation_result<T, F>(&self, res: &Result<T>, count_packets: F)
pub fn on_operation_ready(&self, packets: usize)
pub fn on_operation_pending(&self)
pub fn on_error(&self, error: c_int)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more