Struct gluon_language_server::rpc::ServerError[][src]

pub struct ServerError<E> {
    pub message: String,
    pub data: Option<E>,
}

Fields

Trait Implementations

impl<E: Debug> Debug for ServerError<E>
[src]

Formats the value using the given formatter. Read more

impl<E: PartialEq> PartialEq for ServerError<E>
[src]

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

This method tests for !=.

impl<E, D> From<E> for ServerError<D> where
    E: Display
[src]

Performs the conversion.

Auto Trait Implementations

impl<E> Send for ServerError<E> where
    E: Send

impl<E> Sync for ServerError<E> where
    E: Sync