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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".