Struct ruplicity::backend::local::LocalBackend
source · pub struct LocalBackend { /* private fields */ }
Expand description
Backend for some directory in the local file system.
Implementations§
Trait Implementations§
source§impl Backend for LocalBackend
impl Backend for LocalBackend
§type FileNameIter = FileNameIterator
type FileNameIter = FileNameIterator
An iterator over filenames.
§type FileStream = File
type FileStream = File
A file managed by the backend. It must implement the
Read
trait.source§fn file_names(&self) -> Result<Self::FileNameIter>
fn file_names(&self) -> Result<Self::FileNameIter>
Returns a list of available file names. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LocalBackend
impl Send for LocalBackend
impl Sync for LocalBackend
impl Unpin for LocalBackend
impl UnwindSafe for LocalBackend
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