Struct mpris::TrackID[][src]

pub struct TrackID<'a>(_);

Represents the MPRIS Track_Id type.

use mpris::TrackID;
let no_track = TrackID::from("/org/mpris/MediaPlayer2/TrackList/NoTrack");

Note: There is currently no good way to retrieve values for this through the mpris library. You will have to manually retrieve them through D-Bus until implemented.

Panics

Trying to construct a TrackID from a string that is not a valid D-Bus Path will result in a panic.

Trait Implementations

impl<'a> Debug for TrackID<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for TrackID<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T> From<T> for TrackID<'a> where
    T: Into<Path<'a>>, 
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for TrackID<'a>

impl<'a> Sync for TrackID<'a>