pub enum IpError {
Truncated,
Malformed,
NotWellFormed,
BufferTooSmall,
}Expand description
Decode or well-formedness failure.
Variants§
Truncated
The input ended before the structure was complete.
Malformed
An unknown enumeration code, or a field of impossible length.
NotWellFormed
The value parses but is not one a device may be configured with:
a prefix out of range, an address that is not usable, a gateway
or resolver that is not a unicast host. The
STATUS_INVALID_ARGUMENT set.
BufferTooSmall
The output buffer cannot hold the encoded value.
Trait Implementations§
impl Copy for IpError
impl Eq for IpError
impl StructuralPartialEq for IpError
Auto Trait Implementations§
impl Freeze for IpError
impl RefUnwindSafe for IpError
impl Send for IpError
impl Sync for IpError
impl Unpin for IpError
impl UnwindSafe for IpError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)