[][src]Struct libimagstore::file_abstraction::FSFileAbstraction

pub struct 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 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

impl Default for FSFileAbstraction[src]

impl Debug for FSFileAbstraction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]