pub trait MetricsHook {
    // Required methods
    fn collect(&self, ih: &InHeader);
    fn release(&self, oh: Option<&OutHeader>);
}
Expand description

Provide concrete backend filesystem a way to catch information/metrics from fuse.

Required Methods§

source

fn collect(&self, ih: &InHeader)

collect() will be invoked before the real request is processed

source

fn release(&self, oh: Option<&OutHeader>)

release() will be invoked after the real request is processed

Implementors§