[−][src]Struct aeron_rs::utils::rate_reporter::RateReporter
Methods
impl RateReporter
[src]
pub fn new(
report_interval_ns: u64,
on_report_handler: fn(_: f64, _: f64, _: u64, _: u64)
) -> Self
[src]
report_interval_ns: u64,
on_report_handler: fn(_: f64, _: f64, _: u64, _: u64)
) -> Self
pub fn run(&mut self)
[src]
pub fn report(&mut self)
[src]
pub fn reset(&mut self)
[src]
pub fn halt(&mut self)
[src]
pub fn on_message(&mut self, messages: u64, bytes: u64)
[src]
Auto Trait Implementations
impl RefUnwindSafe for RateReporter
impl Send for RateReporter
impl Sync for RateReporter
impl Unpin for RateReporter
impl UnwindSafe for RateReporter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,