pub struct BlobStore { /* private fields */ }
Implementations§
source§impl BlobStore
impl BlobStore
pub fn insert_part(&self, part: Arc<dyn BlobPart + Send + Sync>) -> Uuid
pub fn get_part(&self, id: &Uuid) -> Option<Arc<dyn BlobPart + Send + Sync>>
pub fn remove_part(&self, id: &Uuid) -> Option<Arc<dyn BlobPart + Send + Sync>>
pub fn get_object_url(&self, url: Url) -> Option<Arc<Blob>>
pub fn insert_object_url(&self, blob: Blob, maybe_location: Option<Url>) -> Url
pub fn remove_object_url(&self, url: &Url)
pub fn clear(&self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BlobStore
impl Send for BlobStore
impl Sync for BlobStore
impl Unpin for BlobStore
impl !UnwindSafe for BlobStore
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