#[repr(transparent)]pub struct BAManagedErrorCode(pub NSInteger);Available on crate feature
BAManagedError only.Expand description
An error code for a managed asset pack.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl BAManagedErrorCode
impl BAManagedErrorCode
Sourcepub const AssetPackNotFound: Self
pub const AssetPackNotFound: Self
An error code that indicates the system can’t find an asset pack with the given identifier.
Refer to the value in -[NSError userInfo] for the key BAAssetPackIdentifierErrorKey for the asset pack’s identifier.
Sourcepub const FileNotFound: Self
pub const FileNotFound: Self
An error code that indicates the system can’t find a file at the specified path.
Refer to the value in -[NSError userInfo] for the key NSFilePathErrorKey for the file path.
Trait Implementations§
Source§impl Clone for BAManagedErrorCode
impl Clone for BAManagedErrorCode
Source§fn clone(&self) -> BAManagedErrorCode
fn clone(&self) -> BAManagedErrorCode
Returns a duplicate 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 BAManagedErrorCode
impl Debug for BAManagedErrorCode
Source§impl Encode for BAManagedErrorCode
impl Encode for BAManagedErrorCode
Source§impl Hash for BAManagedErrorCode
impl Hash for BAManagedErrorCode
Source§impl Ord for BAManagedErrorCode
impl Ord for BAManagedErrorCode
Source§fn cmp(&self, other: &BAManagedErrorCode) -> Ordering
fn cmp(&self, other: &BAManagedErrorCode) -> 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 BAManagedErrorCode
impl PartialEq for BAManagedErrorCode
Source§impl PartialOrd for BAManagedErrorCode
impl PartialOrd for BAManagedErrorCode
Source§impl RefEncode for BAManagedErrorCode
impl RefEncode for BAManagedErrorCode
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 BAManagedErrorCode
impl Eq for BAManagedErrorCode
impl StructuralPartialEq for BAManagedErrorCode
Auto Trait Implementations§
impl Freeze for BAManagedErrorCode
impl RefUnwindSafe for BAManagedErrorCode
impl Send for BAManagedErrorCode
impl Sync for BAManagedErrorCode
impl Unpin for BAManagedErrorCode
impl UnwindSafe for BAManagedErrorCode
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.