Skip to main content

CopilotCancel

Trait CopilotCancel 

Source
pub trait CopilotCancel: Send + Sync {
    // Required method
    fn is_cancelled(&self) -> bool;
}
Expand description

Injectable cancellation signal for device-flow polling.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CopilotCancel for Arc<Atomic<bool>>

Source§

impl CopilotCancel for Atomic<bool>

Implementors§