pub struct PlayerStatus {
pub video: SlotState,
pub audio: SlotState,
pub mode: RenditionMode,
pub rendition: Option<String>,
pub switching_to: Option<String>,
pub switch_error: Option<ByPtr<Error>>,
pub decoder: Option<String>,
}Expand description
The state of a player.
Fields§
§video: SlotStateThe video slot.
audio: SlotStateThe audio slot.
mode: RenditionModeThe rendition mode asked for.
rendition: Option<String>The rendition on screen.
switching_to: Option<String>A rendition whose decoder is warming up to take over.
switch_error: Option<ByPtr<Error>>Why the last switch or pin could not be honoured.
decoder: Option<String>The decoder backend running, such as vaapi.
Trait Implementations§
Source§impl Clone for PlayerStatus
impl Clone for PlayerStatus
Source§impl Debug for PlayerStatus
impl Debug for PlayerStatus
Source§impl Default for PlayerStatus
impl Default for PlayerStatus
Source§impl PartialEq for PlayerStatus
impl PartialEq for PlayerStatus
impl StructuralPartialEq for PlayerStatus
Auto Trait Implementations§
impl !RefUnwindSafe for PlayerStatus
impl !UnwindSafe for PlayerStatus
impl Freeze for PlayerStatus
impl Send for PlayerStatus
impl Sync for PlayerStatus
impl Unpin for PlayerStatus
impl UnsafeUnpin 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