Trait Credentials

Source
pub trait Credentials:
    Clone
    + Send
    + 'static {
    // Required method
    fn token(&self) -> AsciiValue;
}
Expand description

Trait to creates tokens for ydb auth

Required Methods§

Source

fn token(&self) -> AsciiValue

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Credentials for String

Implementors§

Source§

impl Credentials for Cli

Available on crate feature auth-cli only.
Source§

impl Credentials for ServiceAccountCredentials

Available on crate feature auth-sa only.
Source§

impl Credentials for UpdatableToken