pub struct OnExceptionBuilder { /* private fields */ }Implementations§
Source§impl OnExceptionBuilder
impl OnExceptionBuilder
pub fn retry(self, max_attempts: u32) -> Self
pub fn with_backoff( self, initial: Duration, multiplier: f64, max: Duration, ) -> Self
pub fn with_jitter(self, jitter_factor: f64) -> Self
pub fn handled_by(self, uri: impl Into<String>) -> Self
pub fn end_on_exception(self) -> RouteBuilder
Auto Trait Implementations§
impl Freeze for OnExceptionBuilder
impl !RefUnwindSafe for OnExceptionBuilder
impl Send for OnExceptionBuilder
impl !Sync for OnExceptionBuilder
impl Unpin for OnExceptionBuilder
impl UnsafeUnpin for OnExceptionBuilder
impl !UnwindSafe for OnExceptionBuilder
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