pub enum WifiError {
Truncated,
Malformed,
NotWellFormed,
BufferTooSmall,
}Expand description
Decode or well-formedness failure.
Variants§
Truncated
The input ended before the structure was complete, or a declared length ran past it.
Malformed
The value is structurally wrong: a reserved flag bit set, an unknown enumeration code, a field of impossible length.
NotWellFormed
The value parses but is not something a device may be asked for:
an empty SSID, a credential of the wrong length or kind for its
mode, a mode with no credential form. This is the
STATUS_INVALID_ARGUMENT set.
BufferTooSmall
The output buffer cannot hold the encoded value.
Trait Implementations§
impl Copy for WifiError
impl Eq for WifiError
impl StructuralPartialEq for WifiError
Auto Trait Implementations§
impl Freeze for WifiError
impl RefUnwindSafe for WifiError
impl Send for WifiError
impl Sync for WifiError
impl Unpin for WifiError
impl UnwindSafe for WifiError
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)