pub struct PerfData { /* private fields */ }Implementations
sourceimpl PerfData
impl PerfData
pub fn ms_start_timestamp(&self) -> u64
pub fn ms_last_timestamp(&self) -> u64
pub fn pkt_packet_total(&self) -> u64
pub fn byte_total(&self) -> u64
pub fn mbps_max_rate(&self) -> u64
pub fn mbps_avg_rate(&self) -> u64
pub fn set_progress(&mut self, progress: usize)
pub fn progress(&self) -> usize
Trait Implementations
sourceimpl PerfDataAbstract for PerfData
impl PerfDataAbstract for PerfData
fn as_any(&self) -> &dyn Any
fn clone_as_perfdata(&self) -> Box<dyn PerfDataAbstract>ⓘNotable traits for Box<F, A>impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
fn byte_total(&self) -> u64
fn bandwidth(&self) -> u64
Auto Trait Implementations
impl RefUnwindSafe for PerfData
impl Send for PerfData
impl Sync for PerfData
impl Unpin for PerfData
impl UnwindSafe for PerfData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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