#[non_exhaustive]pub struct NetworkConfigResponse {
pub networking_status: u8,
pub debug_text: Option<String>,
}Expand description
Decoded NetworkConfigResponse (spec §11.9.6.5). Emitted by
AddOrUpdateWiFiNetwork, RemoveNetwork, ReorderNetworks.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.networking_status: u8NetworkCommissioningStatusEnum (spec §11.9.5.1). 0 = OK.
debug_text: Option<String>Optional human-readable debug text echoed by the device, capped at the spec’s 512-octet bound at decode. Device-controlled free text — it may name networks (e.g. an SSID); log deliberately.
Trait Implementations§
Source§impl Clone for NetworkConfigResponse
impl Clone for NetworkConfigResponse
Source§fn clone(&self) -> NetworkConfigResponse
fn clone(&self) -> NetworkConfigResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkConfigResponse
impl Debug for NetworkConfigResponse
impl Eq for NetworkConfigResponse
Source§impl PartialEq for NetworkConfigResponse
impl PartialEq for NetworkConfigResponse
impl StructuralPartialEq for NetworkConfigResponse
Auto Trait Implementations§
impl Freeze for NetworkConfigResponse
impl RefUnwindSafe for NetworkConfigResponse
impl Send for NetworkConfigResponse
impl Sync for NetworkConfigResponse
impl Unpin for NetworkConfigResponse
impl UnsafeUnpin for NetworkConfigResponse
impl UnwindSafe for NetworkConfigResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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