Skip to main content

ListOperations

Trait ListOperations 

Source
pub trait ListOperations:
    Send
    + Sync
    + Debug {
    type Error: Error + Send + Sync + 'static;
    type ListObjectsV2Info: Send + 'static;
    type ListObjectVersionsInfo: Send + 'static;
    type ObjectInfoOrErr: Send + 'static;
    type WalkOptions: Send + 'static;
    type WalkCancellation: Send + 'static;
    type WalkResultSender: Send + 'static;

    // Required methods
    fn list_objects_v2<'life0, 'life1, 'async_trait>(
        self: Arc<Self>,
        bucket: &'life0 str,
        prefix: &'life1 str,
        continuation_token: Option<String>,
        delimiter: Option<String>,
        max_keys: i32,
        fetch_owner: bool,
        start_after: Option<String>,
        incl_deleted: bool,
    ) -> Pin<Box<dyn Future<Output = Result<Self::ListObjectsV2Info, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_object_versions<'life0, 'life1, 'async_trait>(
        self: Arc<Self>,
        bucket: &'life0 str,
        prefix: &'life1 str,
        marker: Option<String>,
        version_marker: Option<String>,
        delimiter: Option<String>,
        max_keys: i32,
    ) -> Pin<Box<dyn Future<Output = Result<Self::ListObjectVersionsInfo, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn walk<'life0, 'life1, 'async_trait>(
        self: Arc<Self>,
        rx: Self::WalkCancellation,
        bucket: &'life0 str,
        prefix: &'life1 str,
        result: Self::WalkResultSender,
        opts: Self::WalkOptions,
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Associated Types§

Source

type Error: Error + Send + Sync + 'static

Source

type ListObjectsV2Info: Send + 'static

Source

type ListObjectVersionsInfo: Send + 'static

Source

type ObjectInfoOrErr: Send + 'static

Source

type WalkOptions: Send + 'static

Source

type WalkCancellation: Send + 'static

Source

type WalkResultSender: Send + 'static

Required Methods§

Source

fn list_objects_v2<'life0, 'life1, 'async_trait>( self: Arc<Self>, bucket: &'life0 str, prefix: &'life1 str, continuation_token: Option<String>, delimiter: Option<String>, max_keys: i32, fetch_owner: bool, start_after: Option<String>, incl_deleted: bool, ) -> Pin<Box<dyn Future<Output = Result<Self::ListObjectsV2Info, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn list_object_versions<'life0, 'life1, 'async_trait>( self: Arc<Self>, bucket: &'life0 str, prefix: &'life1 str, marker: Option<String>, version_marker: Option<String>, delimiter: Option<String>, max_keys: i32, ) -> Pin<Box<dyn Future<Output = Result<Self::ListObjectVersionsInfo, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn walk<'life0, 'life1, 'async_trait>( self: Arc<Self>, rx: Self::WalkCancellation, bucket: &'life0 str, prefix: &'life1 str, result: Self::WalkResultSender, opts: Self::WalkOptions, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§