pub struct NativeFileSystem {}Expand description
Default implementation of the FileSystem trait, using the OS
filesystem directly
Trait Implementations§
Source§impl Clone for NativeFileSystem
impl Clone for NativeFileSystem
Source§fn clone(&self) -> NativeFileSystem
fn clone(&self) -> NativeFileSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeFileSystem
Source§impl Debug for NativeFileSystem
impl Debug for NativeFileSystem
Source§impl Default for NativeFileSystem
impl Default for NativeFileSystem
Source§fn default() -> NativeFileSystem
fn default() -> NativeFileSystem
Returns the “default value” for a type. Read more
Source§impl FileSystem for NativeFileSystem
impl FileSystem for NativeFileSystem
Source§type File = File
type File = File
Reader returned by
Self::openSource§fn open(&self, path: &Utf8Path) -> Result<Self::File>
fn open(&self, path: &Utf8Path) -> Result<Self::File>
Open a file at the given path, return its size in bytes and
a
Self::File reader Read moreAuto Trait Implementations§
impl Freeze for NativeFileSystem
impl RefUnwindSafe for NativeFileSystem
impl Send for NativeFileSystem
impl Sync for NativeFileSystem
impl Unpin for NativeFileSystem
impl UnsafeUnpin for NativeFileSystem
impl UnwindSafe for NativeFileSystem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more