Enum protobuf_support::lexer::str_lit::StrLitDecodeError
source · [−]pub enum StrLitDecodeError {
FromUtf8Error(FromUtf8Error),
OtherError,
}
Variants
FromUtf8Error(FromUtf8Error)
OtherError
Trait Implementations
sourceimpl Debug for StrLitDecodeError
impl Debug for StrLitDecodeError
sourceimpl Display for StrLitDecodeError
impl Display for StrLitDecodeError
sourceimpl Error for StrLitDecodeError
impl Error for StrLitDecodeError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<FromUtf8Error> for StrLitDecodeError
impl From<FromUtf8Error> for StrLitDecodeError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
sourceimpl From<StrLitDecodeError> for LexerError
impl From<StrLitDecodeError> for LexerError
sourcefn from(source: StrLitDecodeError) -> Self
fn from(source: StrLitDecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<StrLitDecodeError> for TokenizerError
impl From<StrLitDecodeError> for TokenizerError
sourcefn from(source: StrLitDecodeError) -> Self
fn from(source: StrLitDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for StrLitDecodeError
impl Send for StrLitDecodeError
impl Sync for StrLitDecodeError
impl Unpin for StrLitDecodeError
impl UnwindSafe for StrLitDecodeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more