Skip to main content

CopilotBrowser

Trait CopilotBrowser 

Source
pub trait CopilotBrowser: Send + Sync {
    // Required method
    fn open(&self, url: &str) -> Result<(), CopilotAuthError>;
}
Expand description

Injectable browser opener (production uses open_browser).

Required Methods§

Source

fn open(&self, url: &str) -> Result<(), CopilotAuthError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§