[−][src]Struct ra_ap_flycheck::FlycheckHandle
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(
id: usize,
sender: Box<dyn Fn(Message) + Send>,
config: FlycheckConfig,
workspace_root: PathBuf
) -> FlycheckHandle
[src]
id: usize,
sender: Box<dyn Fn(Message) + Send>,
config: FlycheckConfig,
workspace_root: PathBuf
) -> FlycheckHandle
pub fn update(&self)
[src]
Schedule a re-start of the cargo check worker.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FlycheckHandle
[src]
impl Send for FlycheckHandle
[src]
impl Sync for FlycheckHandle
[src]
impl Unpin for FlycheckHandle
[src]
impl !UnwindSafe for FlycheckHandle
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,