pub struct IpPrefixError {
pub prefix_length: u8,
pub maximum: u8,
}Expand description
Error returned when an IP prefix length exceeds its address family’s limit.
Fields§
§prefix_length: u8Supplied prefix length.
maximum: u8Maximum permitted prefix length.
Trait Implementations§
Source§impl Clone for IpPrefixError
impl Clone for IpPrefixError
impl Copy for IpPrefixError
Source§impl Debug for IpPrefixError
impl Debug for IpPrefixError
Source§impl Display for IpPrefixError
impl Display for IpPrefixError
impl Eq for IpPrefixError
Source§impl Error for IpPrefixError
impl Error for IpPrefixError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for IpPrefixError
impl PartialEq for IpPrefixError
impl StructuralPartialEq for IpPrefixError
Auto Trait Implementations§
impl Freeze for IpPrefixError
impl RefUnwindSafe for IpPrefixError
impl Send for IpPrefixError
impl Sync for IpPrefixError
impl Unpin for IpPrefixError
impl UnsafeUnpin for IpPrefixError
impl UnwindSafe for IpPrefixError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more