pub enum ConfigError {
InvalidBusNameSuffix,
HomeError,
}Expand description
Error originating from the Config struct.
Variants§
InvalidBusNameSuffix
The provided bus name suffix for MPRIS was invalid.
HomeError
Could not get the home directory path.
Trait Implementations§
Source§impl Clone for ConfigError
impl Clone for ConfigError
Source§fn clone(&self) -> ConfigError
fn clone(&self) -> ConfigError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl<'de> Deserialize<'de> for ConfigError
impl<'de> Deserialize<'de> for ConfigError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConfigError
impl Display for ConfigError
Source§impl Hash for ConfigError
impl Hash for ConfigError
Source§impl PartialEq for ConfigError
impl PartialEq for ConfigError
Source§fn eq(&self, other: &ConfigError) -> bool
fn eq(&self, other: &ConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigError
impl Serialize for ConfigError
impl Copy for ConfigError
impl Eq for ConfigError
impl StructuralPartialEq for ConfigError
Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
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