pub enum NetworkConfigError {
OpenNetworkPassword,
Wpa3Psk,
PasswordLen,
PskLen,
SsidEmpty,
MissingPasswordPsk,
ConfigMissingId,
ConfigMissingCredential,
CredentialTypeInvalid,
StashWriteError,
LegacyWriteError,
}
Expand description
Error codes representing problems in trying to save a network config, such as errors saving or removing a network config, or for invalid values when trying to create a network config.
Variants§
OpenNetworkPassword
Wpa3Psk
PasswordLen
PskLen
SsidEmpty
MissingPasswordPsk
ConfigMissingId
ConfigMissingCredential
CredentialTypeInvalid
StashWriteError
LegacyWriteError
Trait Implementations§
source§impl Debug for NetworkConfigError
impl Debug for NetworkConfigError
source§impl From<NetworkConfigError> for NetworkConfigChangeError
impl From<NetworkConfigError> for NetworkConfigChangeError
source§fn from(err: NetworkConfigError) -> Self
fn from(err: NetworkConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkConfigError
impl RefUnwindSafe for NetworkConfigError
impl Send for NetworkConfigError
impl Sync for NetworkConfigError
impl Unpin for NetworkConfigError
impl UnwindSafe for NetworkConfigError
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