pub type FileRef = Arc<Mutex<dyn File + Send>>;
A reference to any type that implements the File trait, which can only represent a File (not a Directory).
File
struct FileRef { /* private fields */ }