Struct tlfs_crdt::FileStorage [−][src]
pub struct FileStorage { /* fields omitted */ }
Expand description
Very basic file based storage
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
appends to a file. Should only return when the data is safely on disk (flushed)! appending will usually be done in large chunks. appending to a non existing file creates it. appending an empty chunk is a noop. Read more
load a file. The callback will get to look at the data and do something with it. loading a non-existing file is like loading an empty file. It will not create the file. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileStorage
impl Send for FileStorage
impl Sync for FileStorage
impl Unpin for FileStorage
impl UnwindSafe for FileStorage
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more