[][src]Enum docuglot::ClientMessage

pub enum ClientMessage {
    Request(ClientRequest),
    Response {
        id: Id,
        response: ClientResponse,
    },
    Notification(ClientNotification),
}

A message to the language server.

Variants

Request(ClientRequest)

A request.

Response

A response.

Fields of Response

id: Id

The id of the matching request.

response: ClientResponse

The response.

Notification(ClientNotification)

A notification.

Trait Implementations

impl Clone for ClientMessage[src]

impl Debug for ClientMessage[src]

impl Display for ClientMessage[src]

impl From<ClientStatement> for ClientMessage[src]

impl PartialEq<ClientMessage> for ClientMessage[src]

impl StructuralPartialEq for ClientMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<P, C> AssembleInto<C> for P where
    C: AssembleFrom<P>, 
[src]

type Error = <C as AssembleFrom<P>>::Error

Describes an error with the parts. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<P, C> DisassembleInto<P> for C where
    P: DisassembleFrom<C>, 
[src]

type Error = <P as DisassembleFrom<C>>::Error

Describes an error that prevents disassembly.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.