pub enum RetrySafety {
Never,
Safe {
retry_after: Option<Duration>,
},
}Expand description
明确的重试证据;结果未知不得自行重发。
Variants§
Trait Implementations§
Source§impl Clone for RetrySafety
impl Clone for RetrySafety
impl Copy for RetrySafety
Source§impl Debug for RetrySafety
impl Debug for RetrySafety
impl Eq for RetrySafety
Source§impl PartialEq for RetrySafety
impl PartialEq for RetrySafety
impl StructuralPartialEq for RetrySafety
Auto Trait Implementations§
impl Forget for RetrySafety
impl Freeze for RetrySafety
impl Move for RetrySafety
impl RefUnwindSafe for RetrySafety
impl Send for RetrySafety
impl Sync for RetrySafety
impl Unpin for RetrySafety
impl UnsafeUnpin for RetrySafety
impl UnwindSafe for RetrySafety
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