pub struct Store;
Expand description

Low-level interface to the store logic

Implementations

Write the byte slice into the store and return its hash

Get data with the corresponding hash and write it to a buffer

Note that the buffer must be of the right length to accept the data

Hash a slice of bytes

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.