pub enum FrontendError {
Show 17 variants
Syn(String),
UnsupportedItem {
item: String,
location: String,
},
UnsupportedStatement {
location: String,
},
UnsupportedExpression {
location: String,
},
UnsupportedType {
ty: String,
location: String,
},
UnsupportedOperator {
location: String,
},
ExpectedIdentifierPattern {
location: String,
},
ExpectedIdentifierAssignmentTarget {
location: String,
},
MissingLetInitializer {
location: String,
},
UnsupportedMacro {
name: String,
location: String,
},
FormatArgumentMismatch {
template: String,
expected: usize,
found: usize,
location: String,
},
InvalidModuleStage {
module: String,
},
EventOutsideControlStage {
module: String,
},
InvalidEventFilter {
location: String,
},
UnsupportedEventFilterMethod {
method: String,
location: String,
},
LocaleKeyUnresolved {
path: String,
},
InvalidLocale {
message: String,
},
}Variants§
Syn(String)
UnsupportedItem
UnsupportedStatement
UnsupportedExpression
UnsupportedType
UnsupportedOperator
ExpectedIdentifierPattern
ExpectedIdentifierAssignmentTarget
MissingLetInitializer
UnsupportedMacro
FormatArgumentMismatch
InvalidModuleStage
EventOutsideControlStage
InvalidEventFilter
UnsupportedEventFilterMethod
LocaleKeyUnresolved
InvalidLocale
Trait Implementations§
Source§impl Clone for FrontendError
impl Clone for FrontendError
Source§fn clone(&self) -> FrontendError
fn clone(&self) -> FrontendError
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 FrontendError
impl Debug for FrontendError
Source§impl Display for FrontendError
impl Display for FrontendError
impl Eq for FrontendError
Source§impl Error for FrontendError
impl Error for FrontendError
1.30.0 · 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 FrontendError
impl From<Error> for FrontendError
Source§impl PartialEq for FrontendError
impl PartialEq for FrontendError
impl StructuralPartialEq for FrontendError
Auto Trait Implementations§
impl Freeze for FrontendError
impl RefUnwindSafe for FrontendError
impl Send for FrontendError
impl Sync for FrontendError
impl Unpin for FrontendError
impl UnsafeUnpin for FrontendError
impl UnwindSafe for FrontendError
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