Enum tor_consdiff::Error
source ·
[−]Expand description
An error type from the tor-consdiff crate.
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.
BadDiff(&'static str)
Tuple Fields
0: &'static str
We got a consensus diff that we couldn’t parse, or which we found to be somehow invalid.
CantApply(&'static str)
Tuple Fields
0: &'static str
We got a consensus diff that looked valid, but we couldn’t apply it to the given input.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more