#[repr(transparent)]pub struct NEHotspotHelperResult(pub NSInteger);Expand description
The result of processing the NEHotspotHelperCommand.
The HotspotHelper provides the result of processing the NEHotspotHelperCommand when it instantiates its NEHotspotHelperResponse.
interaction. This result is only valid in response to a command with type kNEHotspotHelperCommandTypeAuthenticate.
recognize the command type.
authentication again. This result is only valid in response to a command with type kNEHotspotHelperCommandTypeMaintain.
authenticate, the helper determined that it can’t perform the authentication. This result is only valid in response to commands of type kNEHotspotHelperCommandTypeAuthenticate and kNEHotspotHelperCommandTypePresentUI.
it is temporarily unable to perform the authentication. This result is only valid in response to commands of type kNEHotspotHelperCommandTypeAuthenticate and kNEHotspotHelperCommandTypePresentUI.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl NEHotspotHelperResult
impl NEHotspotHelperResult
pub const Success: Self
pub const Failure: Self
pub const UIRequired: Self
pub const CommandNotRecognized: Self
pub const AuthenticationRequired: Self
pub const UnsupportedNetwork: Self
pub const TemporaryFailure: Self
Trait Implementations§
Source§impl Clone for NEHotspotHelperResult
impl Clone for NEHotspotHelperResult
Source§fn clone(&self) -> NEHotspotHelperResult
fn clone(&self) -> NEHotspotHelperResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NEHotspotHelperResult
impl Debug for NEHotspotHelperResult
Source§impl Encode for NEHotspotHelperResult
impl Encode for NEHotspotHelperResult
Source§impl Hash for NEHotspotHelperResult
impl Hash for NEHotspotHelperResult
Source§impl Ord for NEHotspotHelperResult
impl Ord for NEHotspotHelperResult
Source§fn cmp(&self, other: &NEHotspotHelperResult) -> Ordering
fn cmp(&self, other: &NEHotspotHelperResult) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for NEHotspotHelperResult
impl PartialEq for NEHotspotHelperResult
Source§fn eq(&self, other: &NEHotspotHelperResult) -> bool
fn eq(&self, other: &NEHotspotHelperResult) -> bool
self and other values to be equal, and is used by ==.