#[non_exhaustive]pub enum RemediationHint {
CheckPassphrase,
CheckSsid,
CheckRegulatoryRegion,
UpgradeSecurityMode,
DeviceNetworkSlotsFull,
DeviceIpStackFailure,
None,
}Expand description
Hint describing what a downstream UI could suggest to remediate a
CommissioningError::NetworkRejected (lands in M6.5.2).
Maps from a Matter NetworkCommissioningStatusEnum value (spec
§11.9.5.1) into a category callers can render meaningfully without
parsing the raw status code. The mapping table lives in
crate::clusters::network_commissioning::remediation_for.
§Stability
#[non_exhaustive] from inception. New variants may be added in any
release. Existing variants will never be renamed or reordered.
Changes to the status_code → variant mapping are documented in the
CHANGELOG as semi-public behavioural changes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CheckPassphrase
Password/passphrase likely wrong. From AuthFailure (7).
CheckSsid
SSID not found. From NetworkNotFound (5), NetworkIDNotFound (3).
CheckRegulatoryRegion
Country code / regulatory location mismatch. From
RegulatoryError (6).
UpgradeSecurityMode
Wi-Fi security cipher unsupported (e.g. WEP-only device). From
UnsupportedSecurity (8).
DeviceNetworkSlotsFull
Device reached its MaxNetworks limit. From BoundsExceeded (2).
DeviceIpStackFailure
IP-stack-layer failure on the device side. From IPV6Failed (10),
IPBindFailed (11).
None
No specific guidance available. From OtherConnectionFailure (9),
UnknownError (12), or any status code not yet mapped.
Trait Implementations§
Source§impl Clone for RemediationHint
impl Clone for RemediationHint
Source§fn clone(&self) -> RemediationHint
fn clone(&self) -> RemediationHint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more