Struct grammers_mtsender::NoReconnect
source · 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
impl Send for NoReconnect
impl Sync for NoReconnect
Auto Trait Implementations§
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