#[non_exhaustive]pub enum PlayerItemStatus {
Unknown,
ReadyToPlay,
Failed,
}Expand description
Re-exports the AVPlayer framework surface for this item.
AVPlayerItemStatus.
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.
ReadyToPlay
Mirrors the AVPlayer framework case ReadyToPlay.
Failed
Mirrors the AVPlayer framework case Failed.
Implementations§
Trait Implementations§
Source§impl Clone for PlayerItemStatus
impl Clone for PlayerItemStatus
Source§fn clone(&self) -> PlayerItemStatus
fn clone(&self) -> PlayerItemStatus
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 PlayerItemStatus
impl Debug for PlayerItemStatus
Source§impl Hash for PlayerItemStatus
impl Hash for PlayerItemStatus
Source§impl PartialEq for PlayerItemStatus
impl PartialEq for PlayerItemStatus
Source§fn eq(&self, other: &PlayerItemStatus) -> bool
fn eq(&self, other: &PlayerItemStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlayerItemStatus
impl Eq for PlayerItemStatus
impl StructuralPartialEq for PlayerItemStatus
Auto Trait Implementations§
impl Freeze for PlayerItemStatus
impl RefUnwindSafe for PlayerItemStatus
impl Send for PlayerItemStatus
impl Sync for PlayerItemStatus
impl Unpin for PlayerItemStatus
impl UnsafeUnpin for PlayerItemStatus
impl UnwindSafe for PlayerItemStatus
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