pub struct MemFile { /* fields omitted */ }
Expand description
Simple implementation of storage using Vec<u8>
.
Returns the “default value” for a type. Read more
Get the size of the underlying storage.
Note : this is valid initially and after a commit but is not defined after write is called. Read more
Write byte slice to storage.
Finish write transaction, size is new size of underlying storage.
Write byte Vec to storage.
Write Data slice to storage.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.