Struct discord_cassandra_cpp::RetryPolicy
source · [−]pub struct RetryPolicy(_);
Expand description
The selected retry policy
Implementations
sourceimpl RetryPolicy
impl RetryPolicy
sourcepub fn default_new() -> Self
pub fn default_new() -> Self
The default retry policy
sourcepub fn downgrading_consistency_new() -> Self
pub fn downgrading_consistency_new() -> Self
An auto-CL-downgrading consistency level
sourcepub fn fallthrough_new() -> Self
pub fn fallthrough_new() -> Self
a fallthrough retry policy
sourcepub fn logging_new(child_retry_policy: RetryPolicy) -> Self
pub fn logging_new(child_retry_policy: RetryPolicy) -> Self
The a logging retry policy
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RetryPolicy
impl !Sync for RetryPolicy
impl Unpin for RetryPolicy
impl UnwindSafe for RetryPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more