Enum routinator::payload::AddressPrefixError [−][src]
#[non_exhaustive] pub enum AddressPrefixError { LengthOverflow, NonZeroHost, }
Expand description
Creating an address prefix failed.
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.
The prefix length is longer than allowed for the address family.
The host portion of the address has non-zero bits set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AddressPrefixError
impl Send for AddressPrefixError
impl Sync for AddressPrefixError
impl Unpin for AddressPrefixError
impl UnwindSafe for AddressPrefixError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Write text escaped for the given mode to target
.
Write text as is to target
.