[][src]Struct ra_ap_flycheck::FlycheckHandle

pub struct FlycheckHandle { /* fields omitted */ }

Flycheck wraps the shared state and communication machinery used for running cargo check (or other compatible command) and providing diagnostics based on the output. The spawned thread is shut down when this struct is dropped.

Implementations

impl FlycheckHandle[src]

pub fn spawn(
    sender: Box<dyn Fn(Message) + Send>,
    config: FlycheckConfig,
    workspace_root: PathBuf
) -> FlycheckHandle
[src]

pub fn update(&self)[src]

Schedule a re-start of the cargo check worker.

Trait Implementations

impl Debug for FlycheckHandle[src]

Auto Trait Implementations

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.