pub struct Req {
pub resend_time: Option<Duration>,
pub resend_tick: Option<Duration>,
}Expand description
Req protocol options
Fields§
§resend_time: Option<Duration>Duration after which request is considered failed to be delivered Therefore triggering re-sending
resend_tick: Option<Duration>Granularity of the clock used to check for resending time
Trait Implementations§
impl Copy for Req
Auto Trait Implementations§
impl Freeze for Req
impl RefUnwindSafe for Req
impl Send for Req
impl Sync for Req
impl Unpin for Req
impl UnwindSafe for Req
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