pub enum ProvisioningProfileParseError {
InputSize,
MalformedPlist,
DocumentBounds,
MissingField {
field: ProfileField,
},
InvalidFieldType {
field: ProfileField,
},
InvalidField {
field: ProfileField,
},
FieldBounds {
field: ProfileField,
},
UnsupportedPlatform,
UnsupportedProfileType,
}Expand description
Safe, typed failure while parsing a decoded provisioning-profile plist.
Errors identify only fixed schema fields and structural reasons. Plist values, certificates, device identifiers, and parser diagnostics are never included.
Variants§
InputSize
Decoded input was empty or exceeded the byte limit.
MalformedPlist
Decoded bytes were not a supported plist.
DocumentBounds
The complete plist exceeded a structural bound.
MissingField
A required field was absent.
Fields
§
field: ProfileFieldFixed schema field.
InvalidFieldType
A field had the wrong plist type.
Fields
§
field: ProfileFieldFixed schema field.
InvalidField
A field value was structurally invalid or inconsistent.
Fields
§
field: ProfileFieldFixed schema field.
FieldBounds
A field exceeded its field-specific bound.
Fields
§
field: ProfileFieldFixed schema field.
UnsupportedPlatform
The profile included a platform this worker cannot represent.
UnsupportedProfileType
Enterprise or otherwise unsupported profile category.
Trait Implementations§
impl Eq for ProvisioningProfileParseError
Source§impl Error for ProvisioningProfileParseError
impl Error for ProvisioningProfileParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for ProvisioningProfileParseError
Auto Trait Implementations§
impl Freeze for ProvisioningProfileParseError
impl RefUnwindSafe for ProvisioningProfileParseError
impl Send for ProvisioningProfileParseError
impl Sync for ProvisioningProfileParseError
impl Unpin for ProvisioningProfileParseError
impl UnsafeUnpin for ProvisioningProfileParseError
impl UnwindSafe for ProvisioningProfileParseError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.