[−][src]Struct wascc_actor::objectstore::DefaultObjectStore
An abstraction around a host runtime capability for a key-value store
Methods
impl DefaultObjectStore[src]
Trait Implementations
impl Default for DefaultObjectStore[src]
fn default() -> DefaultObjectStore[src]
impl ObjectStore for DefaultObjectStore[src]
fn create_container(&self, name: &str) -> Result<Container>[src]
fn remove_container(&self, name: &str) -> Result<()>[src]
fn remove_object(&self, name: &str, container: &str) -> Result<()>[src]
fn list_objects(&self, container: &str) -> Result<BlobList>[src]
fn get_blob_info(&self, container: &str, id: &str) -> Result<Option<Blob>>[src]
fn start_upload(
&self,
blob: &Blob,
chunk_size: u64,
total_bytes: u64
) -> Result<Transfer>[src]
&self,
blob: &Blob,
chunk_size: u64,
total_bytes: u64
) -> Result<Transfer>
fn upload_chunk(
&self,
transfer: &Transfer,
offset: u64,
bytes: &[u8]
) -> Result<()>[src]
&self,
transfer: &Transfer,
offset: u64,
bytes: &[u8]
) -> Result<()>
fn start_download(&self, blob: &Blob, chunk_size: u64) -> Result<Transfer>[src]
Auto Trait Implementations
impl RefUnwindSafe for DefaultObjectStore
impl Send for DefaultObjectStore
impl Sync for DefaultObjectStore
impl Unpin for DefaultObjectStore
impl UnwindSafe for DefaultObjectStore
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,