pub enum ParseIdentifierError {
StartsWithTauriPlugin,
Empty,
Humongous(usize),
InvalidFormat,
MultipleSeparators,
TrailingHyphen,
PrefixWithoutBase,
}
Expand description
Errors that can happen when parsing an identifier.
Variants§
StartsWithTauriPlugin
Identifier start with the plugin prefix.
Empty
Identifier empty.
Humongous(usize)
Identifier is too long.
InvalidFormat
Identifier is not in a valid format.
MultipleSeparators
Identifier has multiple separators.
TrailingHyphen
Identifier has a trailing hyphen.
PrefixWithoutBase
Identifier has a prefix without a base.
Trait Implementations§
Source§impl Debug for ParseIdentifierError
impl Debug for ParseIdentifierError
Source§impl Display for ParseIdentifierError
impl Display for ParseIdentifierError
Source§impl Error for ParseIdentifierError
impl Error for ParseIdentifierError
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()
Auto Trait Implementations§
impl Freeze for ParseIdentifierError
impl RefUnwindSafe for ParseIdentifierError
impl Send for ParseIdentifierError
impl Sync for ParseIdentifierError
impl Unpin for ParseIdentifierError
impl UnwindSafe for ParseIdentifierError
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