Struct dinglebit_store::blob::FileSystem[][src]

pub struct FileSystem { /* fields omitted */ }
Expand description

An implementation of a BlobStore using a folder on a file system.

Implementations

Create an instance of a FileSystem that uses the given path to store blobs and metadata.

Trait Implementations

Formats the value using the given formatter. Read more

Save the content of r into the storage system with the given key. Read more

Read the contents of the blob with the given key into the given writer. Read more

Delete the blob with the given key.

Find all blobs that have the given prefix and iterate over them. Read more

Similar to put_from but uses the give data instead of a reader. Read more

Similar to get_to but reads the contents into a byte vector.

Similar to delete but it does not return an error if the error is NotFound. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.