Enum nng::options::protocol::reqrep::ResendTime [−][src]
pub enum ResendTime {}
Expand description
Amount of time to wait before sending a new request.
When a new request is started, a timer of this duration is also started. If no reply is received before this timer expires, then the request will be resent. (Requests are also automatically resent if the peer to whom the original request was sent disconnects, or if a peer becomes available while the requester is waiting for an available peer.)
Support
- Sockets can read and write this value when using the following protocols:
- Req v0
- Dialers and Listeners can retrieve it from their owning Socket, if applicable.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResendTime
impl Send for ResendTime
impl Sync for ResendTime
impl Unpin for ResendTime
impl UnwindSafe for ResendTime
Blanket Implementations
Mutably borrows from an owned value. Read more