Enum mpris::ProgressError
source · pub enum ProgressError {
DBusError(DBusError),
TrackListError(TrackListError),
}
Expand description
Errors that can occur while refreshing progress.
Variants§
DBusError(DBusError)
Something went wrong with the D-Bus communication. See the DBusError
type.
TrackListError(TrackListError)
Something went wrong with the track list. See the TrackListError
type.
Trait Implementations§
source§impl Debug for ProgressError
impl Debug for ProgressError
source§impl Display for ProgressError
impl Display for ProgressError
source§impl Error for ProgressError
impl Error for ProgressError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DBusError> for ProgressError
impl From<DBusError> for ProgressError
source§impl From<TrackListError> for ProgressError
impl From<TrackListError> for ProgressError
source§fn from(source: TrackListError) -> Self
fn from(source: TrackListError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ProgressError
impl Send for ProgressError
impl Sync for ProgressError
impl Unpin for ProgressError
impl UnwindSafe for ProgressError
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