pub struct Player { /* private fields */ }Implementations§
Source§impl Player
impl Player
pub fn bus_name(&self) -> &str
pub fn unique_name(&self) -> &str
pub fn identity(&self) -> &str
pub fn set_dbus_timeout_ms(&mut self, timeout_ms: i32)
pub fn get_playback_status(&self) -> Result<PlaybackStatus, ClientError>
pub fn get_metadata(&self) -> Result<Metadata, ClientError>
pub fn get_position(&self) -> Result<Duration, ClientError>
pub fn get_volume(&self) -> Result<f64, ClientError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Player
impl !Send for Player
impl !Sync for Player
impl !UnwindSafe for Player
impl Freeze for Player
impl Unpin for Player
impl UnsafeUnpin for Player
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