pub struct Stats(_, _);Implementations§
source§impl Stats
impl Stats
pub fn messsage_count(&self) -> &u32
pub fn drop_size(&self) -> &u64
pub fn into_message_count(self) -> u32
pub fn into_drop_size(self) -> u64
pub fn from_response<S: AsRef<str>>(response: S) -> Result<StatsResponse>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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