Struct cyfs_bdt::DynamicStatisticTask
source · [−]pub struct DynamicStatisticTask(_);Implementations
sourceimpl DynamicStatisticTask
impl DynamicStatisticTask
pub fn new<S: 'static + StatisticTask>(task: S) -> Self
pub fn default() -> Self
pub fn ptr(&self) -> StatisticTaskPtr
Trait Implementations
sourceimpl Clone for DynamicStatisticTask
impl Clone for DynamicStatisticTask
sourcefn clone(&self) -> DynamicStatisticTask
fn clone(&self) -> DynamicStatisticTask
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Display for DynamicStatisticTask
impl Display for DynamicStatisticTask
sourceimpl From<Arc<dyn StatisticTask + 'static>> for DynamicStatisticTask
impl From<Arc<dyn StatisticTask + 'static>> for DynamicStatisticTask
sourcefn from(task: StatisticTaskPtr) -> Self
fn from(task: StatisticTaskPtr) -> Self
Converts to this type from the input type.
sourceimpl StatisticTask for DynamicStatisticTask
impl StatisticTask for DynamicStatisticTask
fn reset(&self)
fn stat(&self) -> BuckyResult<Box<dyn PerfDataAbstract>>
fn on_stat(&self, size: u64) -> BuckyResult<Box<dyn PerfDataAbstract>>
Auto Trait Implementations
impl !RefUnwindSafe for DynamicStatisticTask
impl Send for DynamicStatisticTask
impl Sync for DynamicStatisticTask
impl Unpin for DynamicStatisticTask
impl !UnwindSafe for DynamicStatisticTask
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