pub struct EphemeralBlobStore { /* private fields */ }
Implementations§
Source§impl EphemeralBlobStore
impl EphemeralBlobStore
pub fn new(_options: BlobStoreOptions) -> Self
Trait Implementations§
Source§impl BlobStore for EphemeralBlobStore
impl BlobStore for EphemeralBlobStore
Source§fn contains_hash(&self, blob_hash: BlobHash) -> Result<bool>
fn contains_hash(&self, blob_hash: BlobHash) -> Result<bool>
Determines if the store contains a blob with the given BLAKE3 hash.
Source§fn get_by_hash(&self, blob_hash: BlobHash) -> Result<Option<Blob>>
fn get_by_hash(&self, blob_hash: BlobHash) -> Result<Option<Blob>>
Fetches a blob by its BLAKE3 hash.
Source§impl BlobStoreExt for EphemeralBlobStore
impl BlobStoreExt for EphemeralBlobStore
Source§impl Default for EphemeralBlobStore
impl Default for EphemeralBlobStore
Source§fn default() -> EphemeralBlobStore
fn default() -> EphemeralBlobStore
Returns the “default value” for a type. Read more
Source§impl IndexedBlobStore for EphemeralBlobStore
impl IndexedBlobStore for EphemeralBlobStore
Auto Trait Implementations§
impl Freeze for EphemeralBlobStore
impl !RefUnwindSafe for EphemeralBlobStore
impl !Send for EphemeralBlobStore
impl !Sync for EphemeralBlobStore
impl Unpin for EphemeralBlobStore
impl !UnwindSafe for EphemeralBlobStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more