[−][src]Struct libimagstore::file_abstraction::FSFileAbstraction
FSFileAbstraction
state type
A lazy file is either absent, but a path to it is available, or it is present.
Trait Implementations
impl FileAbstraction for FSFileAbstraction
[src]
fn remove_file(&self, path: &PathBuf) -> Result<()>
[src]
fn copy(&self, from: &PathBuf, to: &PathBuf) -> Result<()>
[src]
fn rename(&self, from: &PathBuf, to: &PathBuf) -> Result<()>
[src]
fn create_dir_all(&self, path: &PathBuf) -> Result<()>
[src]
fn exists(&self, path: &PathBuf) -> Result<bool>
[src]
fn is_file(&self, path: &PathBuf) -> Result<bool>
[src]
fn new_instance(&self, p: PathBuf) -> Box<dyn FileAbstractionInstance>
[src]
fn drain(&self) -> Result<Drain>
[src]
We return nothing from the FS here.
fn fill(&mut self, d: Drain) -> Result<()>
[src]
FileAbstraction::fill implementation that consumes the Drain and writes everything to the filesystem
fn pathes_recursively(
&self,
basepath: PathBuf,
storepath: PathBuf,
backend: Arc<dyn FileAbstraction>
) -> Result<PathIterator>
[src]
&self,
basepath: PathBuf,
storepath: PathBuf,
backend: Arc<dyn FileAbstraction>
) -> Result<PathIterator>
impl Default for FSFileAbstraction
[src]
fn default() -> FSFileAbstraction
[src]
impl Debug for FSFileAbstraction
[src]
Auto Trait Implementations
impl Send for FSFileAbstraction
impl Sync for FSFileAbstraction
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,