pub struct LspClient { /* private fields */ }
Implementations§
Source§impl LspClient
impl LspClient
pub async fn new(addr: &str) -> Result<Self>
pub async fn send_request(&mut self, request: RequestMessage) -> Result<()>
pub async fn handle_response(&mut self) -> Result<ResponseMessage>
Auto Trait Implementations§
impl Freeze for LspClient
impl !RefUnwindSafe for LspClient
impl Send for LspClient
impl !Sync for LspClient
impl Unpin for LspClient
impl !UnwindSafe for LspClient
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