pub struct NoReconnect;
Expand description
the default implementation of the ReconnectionPolicy.
Trait Implementations§
Source§impl ReconnectionPolicy for NoReconnect
impl ReconnectionPolicy for NoReconnect
Source§fn should_retry(&self, _: usize) -> ControlFlow<(), Duration>
fn should_retry(&self, _: usize) -> ControlFlow<(), Duration>
this function will indicate that the handler should attempt for a new reconnection or not. Read more
Auto Trait Implementations§
impl Freeze for NoReconnect
impl RefUnwindSafe for NoReconnect
impl Send for NoReconnect
impl Sync for NoReconnect
impl Unpin for NoReconnect
impl UnwindSafe for NoReconnect
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