pub enum RetryOpts {
Yes,
Never,
Max(usize),
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RetryOpts
impl<'de> Deserialize<'de> for RetryOpts
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RetryOpts
Auto Trait Implementations§
impl Freeze for RetryOpts
impl RefUnwindSafe for RetryOpts
impl Send for RetryOpts
impl Sync for RetryOpts
impl Unpin for RetryOpts
impl UnwindSafe for RetryOpts
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