pub enum PlayerStatus {
Loading,
Ready,
Failed(PlayerError),
}Expand description
How far a player got with its media.
Variants§
Loading
Ready
It can play.
Failed(PlayerError)
It cannot play, from the start or partway through, and does nothing more: Apple’s failed
item and its failure to play to the end, Media3’s player error, the web’s error. It is
opened again to try again.
Trait Implementations§
Source§impl Clone for PlayerStatus
impl Clone for PlayerStatus
Source§impl Debug for PlayerStatus
impl Debug for PlayerStatus
impl Eq for PlayerStatus
Source§impl PartialEq for PlayerStatus
impl PartialEq for PlayerStatus
impl StructuralPartialEq for PlayerStatus
Auto Trait Implementations§
impl Freeze for PlayerStatus
impl RefUnwindSafe for PlayerStatus
impl Send for PlayerStatus
impl Sync for PlayerStatus
impl Unpin for PlayerStatus
impl UnsafeUnpin for PlayerStatus
impl UnwindSafe for PlayerStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.