pub struct MssqlRetryOptions {
pub enabled: bool,
pub max_retries: u32,
pub base_delay: Duration,
pub max_delay: Duration,
}Fields§
§enabled: bool§max_retries: u32§base_delay: Duration§max_delay: DurationImplementations§
Trait Implementations§
Source§impl Clone for MssqlRetryOptions
impl Clone for MssqlRetryOptions
Source§fn clone(&self) -> MssqlRetryOptions
fn clone(&self) -> MssqlRetryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MssqlRetryOptions
impl Debug for MssqlRetryOptions
Source§impl Default for MssqlRetryOptions
impl Default for MssqlRetryOptions
Source§impl PartialEq for MssqlRetryOptions
impl PartialEq for MssqlRetryOptions
Source§fn eq(&self, other: &MssqlRetryOptions) -> bool
fn eq(&self, other: &MssqlRetryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MssqlRetryOptions
impl Eq for MssqlRetryOptions
impl StructuralPartialEq for MssqlRetryOptions
Auto Trait Implementations§
impl Freeze for MssqlRetryOptions
impl RefUnwindSafe for MssqlRetryOptions
impl Send for MssqlRetryOptions
impl Sync for MssqlRetryOptions
impl Unpin for MssqlRetryOptions
impl UnsafeUnpin for MssqlRetryOptions
impl UnwindSafe for MssqlRetryOptions
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