Skip to main content

RegistryAuthExt

Trait RegistryAuthExt 

Source
pub trait RegistryAuthExt {
    // Required methods
    fn load_from_docker(path: Option<&Path>, registry: &str) -> Result<Self>
       where Self: Sized;
    fn load_from_prompt() -> Result<Self>
       where Self: Sized;
}

Required Methods§

Source

fn load_from_docker(path: Option<&Path>, registry: &str) -> Result<Self>
where Self: Sized,

Source

fn load_from_prompt() -> Result<Self>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RegistryAuthExt for RegistryAuth

Source§

fn load_from_docker(path: Option<&Path>, registry: &str) -> Result<Self>
where Self: Sized,

Source§

fn load_from_prompt() -> Result<Self>
where Self: Sized,

Implementors§