pub trait PlayerInterface: RootInterface {
Show 28 methods // Required methods fn next<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn previous<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn play_pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn stop<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn play<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn seek<'life0, 'async_trait>( &'life0 self, offset: TimeInUs ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn set_position<'life0, 'async_trait>( &'life0 self, track_id: TrackId, position: TimeInUs ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn open_uri<'life0, 'async_trait>( &'life0 self, uri: String ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn playback_status<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackStatus> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn set_rate<'life0, 'async_trait>( &'life0 self, rate: PlaybackRate ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn metadata<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Metadata> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn volume<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Volume> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn set_volume<'life0, 'async_trait>( &'life0 self, volume: Volume ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn position<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = TimeInUs> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn minimum_rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn maximum_rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_go_next<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_go_previous<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_play<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_seek<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn can_control<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; // Provided methods fn loop_status<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = LoopStatus> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait { ... } fn set_loop_status<'life0, 'async_trait>( &'life0 self, _loop_status: LoopStatus ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait { ... } fn shuffle<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait { ... } fn set_shuffle<'life0, 'async_trait>( &'life0 self, _shuffle: bool ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait { ... }
}

Required Methods§

source

fn next<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn previous<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn play_pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn stop<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn play<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn seek<'life0, 'async_trait>( &'life0 self, offset: TimeInUs ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_position<'life0, 'async_trait>( &'life0 self, track_id: TrackId, position: TimeInUs ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn open_uri<'life0, 'async_trait>( &'life0 self, uri: String ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn playback_status<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackStatus> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_rate<'life0, 'async_trait>( &'life0 self, rate: PlaybackRate ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn metadata<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Metadata> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn volume<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Volume> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_volume<'life0, 'async_trait>( &'life0 self, volume: Volume ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn position<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = TimeInUs> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn minimum_rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn maximum_rate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = PlaybackRate> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_go_next<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_go_previous<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_play<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_pause<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_seek<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn can_control<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

source

fn loop_status<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = LoopStatus> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_loop_status<'life0, 'async_trait>( &'life0 self, _loop_status: LoopStatus ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn shuffle<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = bool> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_shuffle<'life0, 'async_trait>( &'life0 self, _shuffle: bool ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§