Trait cloud::blob::BlobStorage [−][src]
An abstraction for blob storage. Currently the same as ExternalStorage
Required methods
fn config(&self) -> Box<dyn BlobConfig>
[src]
fn put(
&self,
name: &str,
reader: Box<dyn AsyncRead + Send + Unpin>,
content_length: u64
) -> Result<()>
[src]
&self,
name: &str,
reader: Box<dyn AsyncRead + Send + Unpin>,
content_length: u64
) -> Result<()>
Write all contents of the read to the given path.
fn get(&self, name: &str) -> Box<dyn AsyncRead + Unpin>
[src]
Read all contents of the given path.
Trait Implementations
impl BlobConfig for dyn BlobStorage
[src]
Implementations on Foreign Types
impl BlobStorage for Box<dyn BlobStorage>
[src]
fn config(&self) -> Box<dyn BlobConfig>
[src]
fn put(
&self,
name: &str,
reader: Box<dyn AsyncRead + Send + Unpin>,
content_length: u64
) -> Result<()>
[src]
&self,
name: &str,
reader: Box<dyn AsyncRead + Send + Unpin>,
content_length: u64
) -> Result<()>