Skip to main content

ProviderVerifier

Trait ProviderVerifier 

Source
pub trait ProviderVerifier {
    // Required method
    async fn verify(&self, creds: &ProviderCreds) -> Outcome;
}
Expand description

Checks whether a set of provider credentials actually works.

The whole point is that the wizard never calls a provider directly, so its tests never open a socket.

Required Methods§

Source

async fn verify(&self, creds: &ProviderCreds) -> Outcome

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§