pub struct BlobStore { /* private fields */ }
Implementations
sourceimpl 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) -> Result<Option<Arc<Blob>>, AnyError>
pub fn insert_object_url(&self, blob: Blob, maybe_location: Option<Url>) -> Url
pub fn remove_object_url(&self, url: &Url)
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more