Struct gluon_base::error::Help[][src]

pub struct Help<E, H> {
    pub error: E,
    pub help: Option<H>,
}

Fields

Trait Implementations

impl<E: Debug, H: Debug> Debug for Help<E, H>
[src]

Formats the value using the given formatter. Read more

impl<E: PartialEq, H: PartialEq> PartialEq for Help<E, H>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<E, H> Display for Help<E, H> where
    E: Display,
    H: Display
[src]

Formats the value using the given formatter. Read more

impl<E, H> From<E> for Help<E, H>
[src]

Performs the conversion.

impl<E, H> AsDiagnostic for Help<E, H> where
    E: AsDiagnostic,
    H: Display
[src]

Auto Trait Implementations

impl<E, H> Send for Help<E, H> where
    E: Send,
    H: Send

impl<E, H> Sync for Help<E, H> where
    E: Sync,
    H: Sync