Enum nng::options::protocol::survey::SurveyTime [−][src]
pub enum SurveyTime {}
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
impl Clone for SurveyTime
[src]
impl Clone for SurveyTime
[src]fn clone(&self) -> SurveyTime
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SurveyTime
[src]
impl Copy for SurveyTime
[src]impl Eq for SurveyTime
[src]
impl Eq for SurveyTime
[src]impl GetOpt<SurveyTime> for Context
[src]
impl GetOpt<SurveyTime> for Context
[src]impl GetOpt<SurveyTime> for Dialer
[src]
impl GetOpt<SurveyTime> for Dialer
[src]impl GetOpt<SurveyTime> for DialerBuilder
[src]
impl GetOpt<SurveyTime> for DialerBuilder
[src]impl GetOpt<SurveyTime> for Listener
[src]
impl GetOpt<SurveyTime> for Listener
[src]impl GetOpt<SurveyTime> for ListenerBuilder
[src]
impl GetOpt<SurveyTime> for ListenerBuilder
[src]impl GetOpt<SurveyTime> for Socket
[src]
impl GetOpt<SurveyTime> for Socket
[src]impl Hash for SurveyTime
[src]
impl Hash for SurveyTime
[src]impl Opt for SurveyTime
[src]
impl Opt for SurveyTime
[src]impl Ord for SurveyTime
[src]
impl Ord for SurveyTime
[src]impl PartialEq<SurveyTime> for SurveyTime
[src]
impl PartialEq<SurveyTime> for SurveyTime
[src]impl PartialOrd<SurveyTime> for SurveyTime
[src]
impl PartialOrd<SurveyTime> for SurveyTime
[src]impl SetOpt<SurveyTime> for Context
[src]
impl SetOpt<SurveyTime> for Context
[src]impl SetOpt<SurveyTime> for Socket
[src]
impl SetOpt<SurveyTime> for Socket
[src]impl StructuralEq for SurveyTime
[src]
impl StructuralEq for SurveyTime
[src]impl StructuralPartialEq for SurveyTime
[src]
impl StructuralPartialEq for SurveyTime
[src]Auto Trait Implementations
impl RefUnwindSafe for SurveyTime
impl RefUnwindSafe for SurveyTime
impl Send for SurveyTime
impl Send for SurveyTime
impl Sync for SurveyTime
impl Sync for SurveyTime
impl Unpin for SurveyTime
impl Unpin for SurveyTime
impl UnwindSafe for SurveyTime
impl UnwindSafe for SurveyTime