pub enum CheckError {
Show 18 variants
DirectoryNotFound(PathBuf),
ParseError {
file: PathBuf,
line: u32,
col: u32,
message: String,
},
XmlValidationError {
file: PathBuf,
line: u32,
col: u32,
message: String,
},
InvalidWidget {
widget: String,
file: PathBuf,
line: u32,
col: u32,
},
UnknownAttribute {
attr: String,
widget: String,
file: PathBuf,
line: u32,
col: u32,
suggestion: String,
},
UnknownHandler {
handler: String,
file: PathBuf,
line: u32,
col: u32,
suggestion: String,
},
InvalidBinding {
field: String,
file: PathBuf,
line: u32,
col: u32,
},
InvalidStyleAttribute {
attr: String,
file: PathBuf,
line: u32,
col: u32,
message: String,
},
InvalidStatePrefix {
prefix: String,
file: PathBuf,
line: u32,
col: u32,
},
InvalidStyleValue {
attr: String,
file: PathBuf,
line: u32,
col: u32,
message: String,
},
InvalidLayoutConstraint {
file: PathBuf,
line: u32,
col: u32,
message: String,
},
UnknownTheme {
theme: String,
file: PathBuf,
line: u32,
col: u32,
},
UnknownStyleClass {
class: String,
file: PathBuf,
line: u32,
col: u32,
},
InvalidBreakpoint {
attr: String,
file: PathBuf,
line: u32,
col: u32,
},
InvalidState {
attr: String,
file: PathBuf,
line: u32,
col: u32,
},
HandlerRegistryLoadError {
path: PathBuf,
source: Error,
},
ModelInfoLoadError {
path: PathBuf,
source: Error,
},
Io(Error),
}Variants§
DirectoryNotFound(PathBuf)
ParseError
XmlValidationError
InvalidWidget
UnknownAttribute
UnknownHandler
InvalidBinding
InvalidStyleAttribute
InvalidStatePrefix
InvalidStyleValue
InvalidLayoutConstraint
UnknownTheme
UnknownStyleClass
InvalidBreakpoint
InvalidState
HandlerRegistryLoadError
ModelInfoLoadError
Io(Error)
Trait Implementations§
Source§impl Debug for CheckError
impl Debug for CheckError
Source§impl Display for CheckError
impl Display for CheckError
Source§impl Error for CheckError
impl Error for CheckError
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()
Auto Trait Implementations§
impl Freeze for CheckError
impl !RefUnwindSafe for CheckError
impl Send for CheckError
impl Sync for CheckError
impl Unpin for CheckError
impl !UnwindSafe for CheckError
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