#[repr(transparent)]pub struct WKErrorCode(pub NSInteger);
Available on crate feature
WKError
only.Expand description
Constants used by NSError to indicate errors in the WebKit domain.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl WKErrorCode
impl WKErrorCode
pub const Unknown: Self
pub const WebContentProcessTerminated: Self
pub const WebViewInvalidated: Self
pub const JavaScriptExceptionOccurred: Self
pub const JavaScriptResultTypeIsUnsupported: Self
pub const ContentRuleListStoreCompileFailed: Self
pub const ContentRuleListStoreLookUpFailed: Self
pub const ContentRuleListStoreRemoveFailed: Self
pub const ContentRuleListStoreVersionMismatch: Self
pub const AttributedStringContentFailedToLoad: Self
pub const AttributedStringContentLoadTimedOut: Self
pub const JavaScriptInvalidFrameTarget: Self
pub const JavaScriptAppBoundDomain: Self
pub const DuplicateCredential: Self
pub const MalformedCredential: Self
pub const CredentialNotFound: Self
Trait Implementations§
Source§impl Clone for WKErrorCode
impl Clone for WKErrorCode
Source§fn clone(&self) -> WKErrorCode
fn clone(&self) -> WKErrorCode
Returns a copy of the value. Read more
1.0.0 · 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 WKErrorCode
impl Debug for WKErrorCode
Source§impl Encode for WKErrorCode
impl Encode for WKErrorCode
Source§impl Hash for WKErrorCode
impl Hash for WKErrorCode
Source§impl Ord for WKErrorCode
impl Ord for WKErrorCode
Source§fn cmp(&self, other: &WKErrorCode) -> Ordering
fn cmp(&self, other: &WKErrorCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WKErrorCode
impl PartialEq for WKErrorCode
Source§impl PartialOrd for WKErrorCode
impl PartialOrd for WKErrorCode
Source§impl RefEncode for WKErrorCode
impl RefEncode for WKErrorCode
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for WKErrorCode
impl Eq for WKErrorCode
impl StructuralPartialEq for WKErrorCode
Auto Trait Implementations§
impl Freeze for WKErrorCode
impl RefUnwindSafe for WKErrorCode
impl Send for WKErrorCode
impl Sync for WKErrorCode
impl Unpin for WKErrorCode
impl UnwindSafe for WKErrorCode
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.