Enum tor_protover::ParseError [−][src]
#[non_exhaustive]
pub enum ParseError {
OutOfRange,
Duplicate,
Malformed,
}Expand description
An error representing a failure to parse a set of protocol versions.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A protovol version was not in the range 0..=63.
Some subprotocol or protocol version appeared more than once.
The list of protocol versions was malformed in some other way.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorimpl Send for ParseErrorimpl Sync for ParseErrorimpl Unpin for ParseErrorimpl UnwindSafe for ParseError