Enum nng::options::protocol::survey::SurveyTime [−][src]
pub enum SurveyTime {}
Expand description
Amount of time that the following surveys will last.
When a new survey is started, a timer of this duration is also
started. Any responses arriving this time will be discarded.
Attempts to receive after the timer expires with no other
surveys started will result in ErrorKind::IncorrectState
.
Attempts to receive when this timer expires will result in
ErrorKind::TimedOut
.
Support
- Sockets can read and write this value when using the following protocols:
- Surveyor 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 SurveyTime
impl Send for SurveyTime
impl Sync for SurveyTime
impl Unpin for SurveyTime
impl UnwindSafe for SurveyTime
Blanket Implementations
Mutably borrows from an owned value. Read more