pub struct MemBlobStore { /* private fields */ }Expand description
In-memory blob store for tests and lightweight applications.
Implementations§
Source§impl MemBlobStore
impl MemBlobStore
Trait Implementations§
Source§impl BlobStore for MemBlobStore
impl BlobStore for MemBlobStore
Source§type Error = MemBlobStoreError
type Error = MemBlobStoreError
Error type for blob storage operations.
Source§fn get_blob(&self, reference: &BlobRef) -> Result<Option<Vec<u8>>, Self::Error>
fn get_blob(&self, reference: &BlobRef) -> Result<Option<Vec<u8>>, Self::Error>
Load a blob by reference.
Source§impl BlobStoreScan for MemBlobStore
impl BlobStoreScan for MemBlobStore
Source§impl Debug for MemBlobStore
impl Debug for MemBlobStore
Source§impl Default for MemBlobStore
impl Default for MemBlobStore
Source§fn default() -> MemBlobStore
fn default() -> MemBlobStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MemBlobStore
impl RefUnwindSafe for MemBlobStore
impl Send for MemBlobStore
impl Sync for MemBlobStore
impl Unpin for MemBlobStore
impl UnsafeUnpin for MemBlobStore
impl UnwindSafe for MemBlobStore
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more