Docs.rs
  • cyfs-bdt-0.5.2
    • cyfs-bdt 0.5.2
    • Docs.rs crate page
    • BSD-2-Clause
    • Links
    • crates.io
    • Source
    • Owners
    • BDTDevTeam
    • Dependencies
      • async-std ^1.11 normal
      • async-trait ^0.1.53 normal
      • bytes ^0.4 normal
      • chrono ^0.4 normal
      • clap ^2.34.0 normal
      • cyfs-base ^0.5 normal
      • cyfs-debug ^0.5 normal
      • cyfs-raptorq ^1.6 normal
      • cyfs-util ^0.5 normal
      • futures ^0.3 normal
      • generic-array ^0.12 normal
      • hex ^0.4.2 normal
      • libc ^0.2 normal
      • log ^0.4 normal
      • lru_time_cache ^0.11 normal
      • once_cell ^1.12 normal
      • rand ^0.7.3 normal
      • ringbuf ^0.2.8 normal
      • rusqlite ^0.27.0 normal
      • sha2 ^0.8 normal
      • socket2 ^0.4.4 normal
      • winapi ^0.3 normal
      • nix ^0.18 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

StatisticTask

Required Methods

  • on_stat
  • reset

Provided Methods

  • stat

Implementors

In cyfs_bdt

logo
Change settings

Trait cyfs_bdt::StatisticTask

source · [−]
pub trait StatisticTask: Display + Send + Sync {
    fn reset(&self);
    fn on_stat(&self, size: u64) -> BuckyResult<Box<dyn PerfDataAbstract>>;

    fn stat(&self) -> BuckyResult<Box<dyn PerfDataAbstract>> { ... }
}

Required Methods

source

fn reset(&self)

source

fn on_stat(&self, size: u64) -> BuckyResult<Box<dyn PerfDataAbstract>>

Provided Methods

source

fn stat(&self) -> BuckyResult<Box<dyn PerfDataAbstract>>

Implementors

source

impl StatisticTask for ChunkView

source

impl StatisticTask for AtomicStatisticTask

source

impl StatisticTask for ChunkListTask

source

impl StatisticTask for ChunkTask

source

impl StatisticTask for DirTask

source

impl StatisticTask for DynamicStatisticTask

source

impl StatisticTask for FileTask

source

impl StatisticTask for SummaryStatisticTaskImpl