Struct gluon_language_server::rpc::ServerError [−][src]
Fields
message: String
data: Option<E>
Trait Implementations
impl<E: Debug> Debug for ServerError<E>
[src]
impl<E: Debug> Debug for ServerError<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: PartialEq> PartialEq for ServerError<E>
[src]
impl<E: PartialEq> PartialEq for ServerError<E>
fn eq(&self, other: &ServerError<E>) -> bool
[src]
fn eq(&self, other: &ServerError<E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ServerError<E>) -> bool
[src]
fn ne(&self, other: &ServerError<E>) -> bool
This method tests for !=
.
impl<E, D> From<E> for ServerError<D> where
E: Display,
[src]
impl<E, D> From<E> for ServerError<D> where
E: Display,
fn from(err: E) -> ServerError<D>
[src]
fn from(err: E) -> ServerError<D>
Performs the conversion.
Auto Trait Implementations
impl<E> Send for ServerError<E> where
E: Send,
impl<E> Send for ServerError<E> where
E: Send,
impl<E> Sync for ServerError<E> where
E: Sync,
impl<E> Sync for ServerError<E> where
E: Sync,