pub struct VarNotFound<Var, Suggest1, Suggest2> {
    pub var: Var,
    pub suggest1: Suggest1,
    pub suggest2: Suggest2,
}

Fields§

§var: Var§suggest1: Suggest1§suggest2: Suggest2

Trait Implementations§

source§

impl<Var, Suggest1, S1, Suggest2, S2> IntoError for VarNotFound<Var, Suggest1, Suggest2>where Var: Display + TrySpan, Suggest1: IntoIterator<Item = S1>, Suggest2: IntoIterator<Item = S2>, S1: Display, S2: Display,

Auto Trait Implementations§

§

impl<Var, Suggest1, Suggest2> RefUnwindSafe for VarNotFound<Var, Suggest1, Suggest2>where Suggest1: RefUnwindSafe, Suggest2: RefUnwindSafe, Var: RefUnwindSafe,

§

impl<Var, Suggest1, Suggest2> Send for VarNotFound<Var, Suggest1, Suggest2>where Suggest1: Send, Suggest2: Send, Var: Send,

§

impl<Var, Suggest1, Suggest2> Sync for VarNotFound<Var, Suggest1, Suggest2>where Suggest1: Sync, Suggest2: Sync, Var: Sync,

§

impl<Var, Suggest1, Suggest2> Unpin for VarNotFound<Var, Suggest1, Suggest2>where Suggest1: Unpin, Suggest2: Unpin, Var: Unpin,

§

impl<Var, Suggest1, Suggest2> UnwindSafe for VarNotFound<Var, Suggest1, Suggest2>where Suggest1: UnwindSafe, Suggest2: UnwindSafe, Var: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.