Type Alias fs_node::FileRef

source ·
pub type FileRef = Arc<Mutex<dyn File + Send>>;
Expand description

A reference to any type that implements the File trait, which can only represent a File (not a Directory).

Aliased Type§

struct FileRef { /* private fields */ }

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Arc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.