Struct arret_lsp_server::watcher::syntax::DocumentTask[][src]

struct DocumentTask {
    send_change: Sender<Arc<Document>>,
    join_handle: JoinHandle<()>,
}

Fields

send_change: Sender<Arc<Document>>join_handle: JoinHandle<()>

Implementations

impl DocumentTask[src]

pub fn new(
    outgoing: Sender<ServerMessage>,
    url: Url,
    initial_document: Arc<Document>
) -> DocumentTask
[src]

fn did_change(&self, document: Arc<Document>)[src]

async fn shutdown(self)[src]

Auto Trait Implementations

impl !RefUnwindSafe for DocumentTask

impl Send for DocumentTask

impl Sync for DocumentTask

impl Unpin for DocumentTask

impl !UnwindSafe for DocumentTask

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.