Skip to main content

Credentials

Trait Credentials 

Source
pub trait Credentials: Send + Sync {
    // Required method
    fn token(&self, host: &str) -> Option<String>;
}
Expand description

Access tokens for HTTPS remotes by host; without one, git’s own credential helper answers.

Required Methods§

Source

fn token(&self, host: &str) -> Option<String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§