Enum broot::errors::InvalidSkinError
source · pub enum InvalidSkinError {
InvalidColor {
source: ParseColorError,
},
InvalidAttribute {
raw: String,
},
InvalidGreyLevel {
level: u8,
},
InvalidStyle {
style: String,
},
InvalidStyleToken {
source: ParseStyleTokenError,
},
}
Variants§
InvalidColor
Fields
§
source: ParseColorError
InvalidAttribute
InvalidGreyLevel
InvalidStyle
InvalidStyleToken
Fields
§
source: ParseStyleTokenError
Trait Implementations§
source§impl Debug for InvalidSkinError
impl Debug for InvalidSkinError
source§impl Display for InvalidSkinError
impl Display for InvalidSkinError
source§impl Error for InvalidSkinError
impl Error for InvalidSkinError
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<InvalidSkinError> for ConfError
impl From<InvalidSkinError> for ConfError
source§fn from(source: InvalidSkinError) -> Self
fn from(source: InvalidSkinError) -> Self
Converts to this type from the input type.
source§impl From<ParseColorError> for InvalidSkinError
impl From<ParseColorError> for InvalidSkinError
source§fn from(source: ParseColorError) -> Self
fn from(source: ParseColorError) -> Self
Converts to this type from the input type.
source§impl From<ParseStyleTokenError> for InvalidSkinError
impl From<ParseStyleTokenError> for InvalidSkinError
source§fn from(source: ParseStyleTokenError) -> Self
fn from(source: ParseStyleTokenError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InvalidSkinError
impl Send for InvalidSkinError
impl Sync for InvalidSkinError
impl Unpin for InvalidSkinError
impl UnwindSafe for InvalidSkinError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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