Trait cyfs_bdt::PerfDataAbstract
source · [−]pub trait PerfDataAbstract: Display + Send + Sync {
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;;
fn byte_total(&self) -> u64;
fn bandwidth(&self) -> u64;
}Required Methods
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;