Struct ipnet::PrefixLenError[][src]

pub struct PrefixLenError;

An error which can be returned when the prefix length is invalid.

Valid prefix lengths are 0 to 32 for IPv4 and 0 to 128 for IPv6.

Trait Implementations

impl Debug for PrefixLenError
[src]

Formats the value using the given formatter. Read more

impl Clone for PrefixLenError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PrefixLenError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PrefixLenError
[src]

impl Display for PrefixLenError
[src]

Formats the value using the given formatter. Read more

impl Error for PrefixLenError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations