Struct LexError
struct LexError(_)
Error returned from TokenStream::from_str.
The contained error message is explicitly not guaranteed to be stable in any way, and may change between Rust versions or across compilations.
Implementations
impl Debug for LexError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for LexError
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Error for LexError
impl Freeze for LexError
impl RefUnwindSafe for LexError
impl Send for LexError
impl Sync for LexError
impl Unpin for LexError
impl UnsafeUnpin for LexError
impl UnwindSafe for LexError
impl<T> Any for LexError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for LexError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for LexError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for LexError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for LexError
fn to_string(self: &Self) -> String
impl<T, U> Into for LexError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for LexError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for LexError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>