Type Alias freqfs::FileReadGuardOwned

source ·
pub type FileReadGuardOwned<FE, F> = OwnedRwLockReadGuard<Option<FE>, F>;
Expand description

An owned read guard on a file

Aliased Type§

struct FileReadGuardOwned<FE, F> { /* private fields */ }

Trait Implementations§

source§

impl<FE, F> FileDeref for FileReadGuardOwned<FE, F>

§

type File = F

The type of file referenced
source§

fn as_file(&self) -> &F

Borrow this instance as a Self::File