#[non_exhaustive]pub enum ContentAuthorizationStatus {
Unknown,
Completed,
Cancelled,
TimedOut,
Busy,
NotAvailable,
NotPossible,
Other(i32),
}Expand description
Re-exports the AVPlayer framework surface for this item.
Mirrors the AVPlayer framework counterpart for ContentAuthorizationStatus.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Mirrors the AVPlayer framework case Unknown.
Completed
Mirrors the AVPlayer framework case Completed.
Cancelled
Mirrors the AVPlayer framework case Cancelled.
TimedOut
Mirrors the AVPlayer framework case TimedOut.
Busy
Mirrors the AVPlayer framework case Busy.
NotAvailable
Mirrors the AVPlayer framework case NotAvailable.
NotPossible
Mirrors the AVPlayer framework case NotPossible.
Other(i32)
Mirrors the AVPlayer framework case Other.
Trait Implementations§
Source§impl Clone for ContentAuthorizationStatus
impl Clone for ContentAuthorizationStatus
Source§fn clone(&self) -> ContentAuthorizationStatus
fn clone(&self) -> ContentAuthorizationStatus
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 moreSource§impl Debug for ContentAuthorizationStatus
impl Debug for ContentAuthorizationStatus
Source§impl Hash for ContentAuthorizationStatus
impl Hash for ContentAuthorizationStatus
Source§impl PartialEq for ContentAuthorizationStatus
impl PartialEq for ContentAuthorizationStatus
Source§fn eq(&self, other: &ContentAuthorizationStatus) -> bool
fn eq(&self, other: &ContentAuthorizationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ContentAuthorizationStatus
impl Eq for ContentAuthorizationStatus
impl StructuralPartialEq for ContentAuthorizationStatus
Auto Trait Implementations§
impl Freeze for ContentAuthorizationStatus
impl RefUnwindSafe for ContentAuthorizationStatus
impl Send for ContentAuthorizationStatus
impl Sync for ContentAuthorizationStatus
impl Unpin for ContentAuthorizationStatus
impl UnsafeUnpin for ContentAuthorizationStatus
impl UnwindSafe for ContentAuthorizationStatus
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