pub struct TConnectionTx<M> {
pub event: Sender<Event>,
pub lsp: Sender<Message>,
/* private fields */
}
Expand description
The sender of the language server.
Fields§
§event: Sender<Event>
The sender of the events.
lsp: Sender<Message>
The sender of the LSP messages.
Trait Implementations§
Source§impl<M: Clone> Clone for TConnectionTx<M>
impl<M: Clone> Clone for TConnectionTx<M>
Source§fn clone(&self) -> TConnectionTx<M>
fn clone(&self) -> TConnectionTx<M>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<M: Debug> Debug for TConnectionTx<M>
impl<M: Debug> Debug for TConnectionTx<M>
Source§impl<M: TryFrom<Message, Error = Error>> From<TConnectionTx<M>> for ConnectionTx
impl<M: TryFrom<Message, Error = Error>> From<TConnectionTx<M>> for ConnectionTx
Source§fn from(conn: TConnectionTx<M>) -> Self
fn from(conn: TConnectionTx<M>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<M> Freeze for TConnectionTx<M>
impl<M> RefUnwindSafe for TConnectionTx<M>where
M: RefUnwindSafe,
impl<M> Send for TConnectionTx<M>where
M: Send,
impl<M> Sync for TConnectionTx<M>where
M: Sync,
impl<M> Unpin for TConnectionTx<M>where
M: Unpin,
impl<M> UnwindSafe for TConnectionTx<M>where
M: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more