pub enum NativeThemeBridgeError {
InvalidSnapshot(SnapshotValidationError),
MissingColor(&'static str),
Resolution(Error),
}Expand description
Failure to translate a Qt snapshot into the native-theme model.
Variants§
InvalidSnapshot(SnapshotValidationError)
The source snapshot is malformed or incomplete.
MissingColor(&'static str)
A semantic role required for a faithful base theme was unavailable.
Resolution(Error)
The native-theme inheritance or validation pipeline failed.
Trait Implementations§
Source§impl Debug for NativeThemeBridgeError
impl Debug for NativeThemeBridgeError
Source§impl Display for NativeThemeBridgeError
impl Display for NativeThemeBridgeError
Source§impl Error for NativeThemeBridgeError
impl Error for NativeThemeBridgeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for NativeThemeBridgeError
impl From<Error> for NativeThemeBridgeError
Source§impl From<SnapshotValidationError> for NativeThemeBridgeError
impl From<SnapshotValidationError> for NativeThemeBridgeError
Source§fn from(source: SnapshotValidationError) -> Self
fn from(source: SnapshotValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NativeThemeBridgeError
impl !UnwindSafe for NativeThemeBridgeError
impl Freeze for NativeThemeBridgeError
impl Send for NativeThemeBridgeError
impl Sync for NativeThemeBridgeError
impl Unpin for NativeThemeBridgeError
impl UnsafeUnpin for NativeThemeBridgeError
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