Trait s3handler::tokio_async::traits::DataPool [−][src]
Required methods
#[must_use]fn push<'life0, 'async_trait>(
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn pull<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn list<'life0, 'async_trait>(
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
The index will be treated as a folder object to filter the list results
#[must_use]fn remove<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn fetch_meta<'life0, 'life1, 'async_trait>(
&'life0 self,
_desc: &'life1 mut S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_desc: &'life1 mut S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
TODO: sync feature This method is for the sync feature
fn check_scheme(&self, _scheme: &str) -> Result<(), Error>
[src]
fn as_base_from(self, resource_location: &str) -> Result<Canal, Error> where
Self: Sized + 'static,
[src]
Self: Sized + 'static,
fn as_target_to(self, resource_location: &str) -> Result<Canal, Error> where
Self: Sized + 'static,
[src]
Self: Sized + 'static,
Implementors
impl DataPool for FilePool
[src]
fn push<'life0, 'async_trait>(
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn pull<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn check_scheme(&self, _scheme: &str) -> Result<(), Error>
[src]
impl DataPool for S3Pool
[src]
fn push<'life0, 'async_trait>(
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object,
object: Bytes
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn pull<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<Bytes, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
index: Option<S3Object>
) -> Pin<Box<dyn Future<Output = Result<Box<dyn S3Folder>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove<'life0, 'async_trait>(
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn check_scheme(&self, scheme: &str) -> Result<(), Error>
[src]
fn fetch_meta<'life0, 'life1, 'async_trait>(
&'life0 self,
desc: &'life1 mut S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
desc: &'life1 mut S3Object
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,