Static NSURLErrorNetworkUnavailableReasonKey

Source
pub unsafe static NSURLErrorNetworkUnavailableReasonKey: &'static NSErrorUserInfoKey
Available on crate features NSError and NSString and NSURLError only.
Expand description

The NSErrorUserInfoKey used to store and retrieve the NSNumber object corresponding to the reason why the network is unavailable when the task failed due to unsatisfiable network constraints. See the NSURLErrorNetworkUnavailableReason enum for details.

See also Apple’s documentation