Struct lsp_server::Outgoing[][src]

pub struct Outgoing<O> { /* fields omitted */ }

Implementations

impl<O> Outgoing<O>[src]

pub fn register<P: Serialize>(
    &mut self,
    method: String,
    params: P,
    data: O
) -> Request
[src]

pub fn complete(&mut self, id: RequestId) -> O[src]

Trait Implementations

impl<O: Debug> Debug for Outgoing<O>[src]

Auto Trait Implementations

impl<O> RefUnwindSafe for Outgoing<O> where
    O: RefUnwindSafe

impl<O> Send for Outgoing<O> where
    O: Send

impl<O> Sync for Outgoing<O> where
    O: Sync

impl<O> Unpin for Outgoing<O> where
    O: Unpin

impl<O> UnwindSafe for Outgoing<O> where
    O: UnwindSafe

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.