pub enum StrLitDecodeError {
FromUtf8Error(FromUtf8Error),
OtherError,
}
Variants§
FromUtf8Error(FromUtf8Error)
OtherError
Trait Implementations§
source§impl Debug for StrLitDecodeError
impl Debug for StrLitDecodeError
source§impl Display for StrLitDecodeError
impl Display for StrLitDecodeError
source§impl Error for StrLitDecodeError
impl Error for StrLitDecodeError
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<FromUtf8Error> for StrLitDecodeError
impl From<FromUtf8Error> for StrLitDecodeError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<StrLitDecodeError> for LexerError
impl From<StrLitDecodeError> for LexerError
source§fn from(source: StrLitDecodeError) -> Self
fn from(source: StrLitDecodeError) -> Self
Converts to this type from the input type.
source§impl From<StrLitDecodeError> for TokenizerError
impl From<StrLitDecodeError> for TokenizerError
source§fn from(source: StrLitDecodeError) -> Self
fn from(source: StrLitDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StrLitDecodeError
impl RefUnwindSafe for StrLitDecodeError
impl Send for StrLitDecodeError
impl Sync for StrLitDecodeError
impl Unpin for StrLitDecodeError
impl UnwindSafe for StrLitDecodeError
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