pub trait FileOp<Output> { fn execute(self, file: &mut dyn File) -> Output; }
An operation to perform on a file.
Executes the operation and returns the result.