#[non_exhaustive]pub struct ConnectNetworkResponse {
pub networking_status: u8,
pub debug_text: Option<String>,
pub error_value: Option<i32>,
}Expand description
Decoded ConnectNetworkResponse (spec §11.9.6.6.2).
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. 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.
error_value: Option<i32>Platform-specific Wi-Fi error code (spec §11.9.6.6.3). Optional.
Trait Implementations§
Source§impl Clone for ConnectNetworkResponse
impl Clone for ConnectNetworkResponse
Source§fn clone(&self) -> ConnectNetworkResponse
fn clone(&self) -> ConnectNetworkResponse
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 ConnectNetworkResponse
impl Debug for ConnectNetworkResponse
impl Eq for ConnectNetworkResponse
Source§impl PartialEq for ConnectNetworkResponse
impl PartialEq for ConnectNetworkResponse
impl StructuralPartialEq for ConnectNetworkResponse
Auto Trait Implementations§
impl Freeze for ConnectNetworkResponse
impl RefUnwindSafe for ConnectNetworkResponse
impl Send for ConnectNetworkResponse
impl Sync for ConnectNetworkResponse
impl Unpin for ConnectNetworkResponse
impl UnsafeUnpin for ConnectNetworkResponse
impl UnwindSafe for ConnectNetworkResponse
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