Trait trust_dns_proto::xfer::retry_dns_handle::RetryableError [−][src]
pub trait RetryableError { fn should_retry(&self) -> bool; fn attempted(&self) -> bool; }
Expand description
What errors should be retried
Required methods
fn should_retry(&self) -> bool
[src]
Expand description
Whether the query should be retried after this error
fn attempted(&self) -> bool
[src]
Expand description
Whether this error should count as an attempt
Implementors
impl RetryableError for ProtoError
[src]
impl RetryableError for ProtoError
[src]