sync_ls

Type Alias ConnectionTx

Source
pub type ConnectionTx = TConnectionTx<Message>;
Expand description

The untyped connect tx for language servers.

Aliased Type§

struct ConnectionTx {
    pub event: Sender<Box<dyn Any + Send>>,
    pub lsp: Sender<Message>,
    /* private fields */
}

Fields§

§event: Sender<Box<dyn Any + Send>>

The sender of the events.

§lsp: Sender<Message>

The sender of the LSP messages.

Trait Implementations§

Source§

impl<M: TryFrom<Message, Error = Error>> From<TConnectionTx<M>> for ConnectionTx

Source§

fn from(conn: TConnectionTx<M>) -> Self

Converts to this type from the input type.