#[non_exhaustive]pub struct DropBucketOptions {
pub retry_strategy: Option<Arc<dyn RetryStrategy>>,
}Expand description
Options for BucketManager::drop_bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.retry_strategy: Option<Arc<dyn RetryStrategy>>The retry strategy to use in case of transient failures.
Implementations§
Source§impl DropBucketOptions
impl DropBucketOptions
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new instance of DropBucketOptions.
Sourcepub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
Sets the retry strategy.
Trait Implementations§
Source§impl Clone for DropBucketOptions
impl Clone for DropBucketOptions
Source§fn clone(&self) -> DropBucketOptions
fn clone(&self) -> DropBucketOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DropBucketOptions
impl Debug for DropBucketOptions
Source§impl Default for DropBucketOptions
impl Default for DropBucketOptions
Source§fn default() -> DropBucketOptions
fn default() -> DropBucketOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DropBucketOptions
impl !RefUnwindSafe for DropBucketOptions
impl Send for DropBucketOptions
impl Sync for DropBucketOptions
impl Unpin for DropBucketOptions
impl UnsafeUnpin for DropBucketOptions
impl !UnwindSafe for DropBucketOptions
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