pub struct ClientBuilder<Client: S3> { /* private fields */ }
Implementations§
Source§impl<Client: S3 + Send + 'static> ClientBuilder<Client>
impl<Client: S3 + Send + 'static> ClientBuilder<Client>
pub fn batch_duration(self, batch_duration: u64) -> Self
pub fn bucket<S: ToString>(self, name: S) -> Self
pub fn key_prefix<S: ToString>(self, prefix: S) -> Self
pub fn s3_client(self, s3_client: Client) -> Self
pub fn handle(self, rt: Handle) -> Self
Sourcepub fn storage_class(self, storage_class: String) -> Self
pub fn storage_class(self, storage_class: String) -> Self
Optional S3 storage class to request when storing resulting tar files
pub fn build(self) -> Result<S3BatchPutClient, BuildError>
Trait Implementations§
Auto Trait Implementations§
impl<Client> Freeze for ClientBuilder<Client>where
Client: Freeze,
impl<Client> !RefUnwindSafe for ClientBuilder<Client>
impl<Client> Send for ClientBuilder<Client>where
Client: Send,
impl<Client> Sync for ClientBuilder<Client>where
Client: Sync,
impl<Client> Unpin for ClientBuilder<Client>where
Client: Unpin,
impl<Client> !UnwindSafe for ClientBuilder<Client>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more