Struct ra_ap_flycheck::FlycheckHandle [−][src]
pub struct FlycheckHandle { /* fields omitted */ }
Expand description
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
pub fn spawn(
id: usize,
sender: Box<dyn Fn(Message) + Send>,
config: FlycheckConfig,
workspace_root: AbsPathBuf
) -> FlycheckHandle
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FlycheckHandle
impl Send for FlycheckHandle
impl Sync for FlycheckHandle
impl Unpin for FlycheckHandle
impl !UnwindSafe for FlycheckHandle
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more