pub trait DiskUser {
    fn ditto_component() -> FsComponent;
fn ditto(&self) -> Arc<BoxedDitto>; fn disk_usage_exec(&self) -> DiskUsageChild { ... }
fn disk_usage_observe(
        &self,
        callback: impl Fn(DiskUsageChild) + 'static + Send + Sync
    ) -> Arc<Mutex<DiskUsageObserver>> { ... } }

Required methods

Specify which component’s file system is being monitored

Return a pointer to Ditto

Provided methods

Return the tree representation of the ditto disk usage of the component

Register a callback to monitor the disk usage of the component

Implementors