pub trait FileOp<Output> {
    fn execute(self, file: &mut dyn File) -> Output;
}
Expand description

An operation to perform on a file.

Required methods

Executes the operation and returns the result.

Implementors