[−][src]Trait unsafe_io::AsUnsafeFile
A trait for types which contain an unsafe file and can expose it.
Required methods
pub fn as_unsafe_file(&self) -> UnsafeFile
[src]
Return the contained unsafe file.
Provided methods
pub fn as_file(&self) -> View<'_, File>
[src]
Utility for returning a value which dereferences to a &File
or
&mut File
.
Note that AsUnsafeFile
may be implemented for types which are not
normal files, and which don't support all the methods on File
.