[][src]Struct lsp_async_stub::impls::Server

pub struct Server<W: Clone + Send + Sync> { /* fields omitted */ }

Implementations

impl<W: Clone + Send + Sync> Server<W>[src]

pub fn new() -> ServerBuilder<W>[src]

pub fn handle_message(
    &self,
    world: W,
    message: Message,
    writer: impl MessageWriter + Clone + 'static
) -> impl Future<Output = Result<(), Error>>
[src]

pub async fn is_shutting_down(&self) -> bool[src]

Auto Trait Implementations

impl<W> !RefUnwindSafe for Server<W>[src]

impl<W> Send for Server<W>[src]

impl<W> Sync for Server<W>[src]

impl<W> Unpin for Server<W>[src]

impl<W> !UnwindSafe for Server<W>[src]

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.