Struct ExpandError
struct ExpandError
Error returned from TokenStream::expand_expr.
Implementations
impl Debug for ExpandError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for ExpandError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Error for ExpandError
impl Freeze for ExpandError
impl RefUnwindSafe for ExpandError
impl Send for ExpandError
impl Sync for ExpandError
impl Unpin for ExpandError
impl UnwindSafe for ExpandError
impl<T> Any for ExpandError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ExpandError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ExpandError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for ExpandError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for ExpandError
fn to_string(self: &Self) -> String
impl<T, U> Into for ExpandError
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 ExpandError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ExpandError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>