Struct lsp_async_stub::Server
source · pub struct Server<W: Clone> { /* private fields */ }Implementations§
source§impl<W: Clone> Server<W>
impl<W: Clone> Server<W>
pub fn new() -> ServerBuilder<W>
pub fn handle_message( &self, world: W, message: Message, writer: impl MessageWriter + Clone + 'static ) -> impl Future<Output = Result<(), Error>>
pub async fn is_shutting_down(&self) -> bool
Auto Trait Implementations§
impl<W> !RefUnwindSafe for Server<W>
impl<W> !Send for Server<W>
impl<W> !Sync for Server<W>
impl<W> Unpin for Server<W>
impl<W> !UnwindSafe for Server<W>
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