#[repr(transparent)]pub struct AudioComponentValidationResult(pub u32);Expand description
Constants for describing the result of validating an AudioComponent
The AudioComponent passed validation.
The AudioComponent failed validation.
The validation operation timed out before completing.
The AudioComponent failed validation during open operation as it is not authorized.
The AudioComponent failed validation during initialization as it is not authorized.
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Source§impl AudioComponentValidationResult
impl AudioComponentValidationResult
pub const Unknown: AudioComponentValidationResult
pub const Passed: AudioComponentValidationResult
pub const Failed: AudioComponentValidationResult
pub const TimedOut: AudioComponentValidationResult
Trait Implementations§
Source§impl Clone for AudioComponentValidationResult
impl Clone for AudioComponentValidationResult
Source§fn clone(&self) -> AudioComponentValidationResult
fn clone(&self) -> AudioComponentValidationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioComponentValidationResult
impl Eq for AudioComponentValidationResult
Source§impl Ord for AudioComponentValidationResult
impl Ord for AudioComponentValidationResult
Source§fn cmp(&self, other: &AudioComponentValidationResult) -> Ordering
fn cmp(&self, other: &AudioComponentValidationResult) -> Ordering
1.21.0 (const: unstable) · 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 AudioComponentValidationResult
impl PartialEq for AudioComponentValidationResult
Source§fn eq(&self, other: &AudioComponentValidationResult) -> bool
fn eq(&self, other: &AudioComponentValidationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AudioComponentValidationResult
impl PartialOrd for AudioComponentValidationResult
Source§impl RefEncode for AudioComponentValidationResult
impl RefEncode for AudioComponentValidationResult
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl StructuralPartialEq for AudioComponentValidationResult
Auto Trait Implementations§
impl Freeze for AudioComponentValidationResult
impl RefUnwindSafe for AudioComponentValidationResult
impl Send for AudioComponentValidationResult
impl Sync for AudioComponentValidationResult
impl Unpin for AudioComponentValidationResult
impl UnsafeUnpin for AudioComponentValidationResult
impl UnwindSafe for AudioComponentValidationResult
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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.