Type Alias ProviderInitResult

Source
pub type ProviderInitResult = Result<&'static str, &'static str>;
Expand description

The result of a provider init is either a string with some free-form details about the provider, or a string indicating the error which prevented the provider from initializing

On success, the string takes the form:

$PROVIDER_NAME::$IMPLEMENTATION::$VERSION

for example:

my_provider::native/native_noop::0.1.0

Aliased Type§

pub enum ProviderInitResult {
    Ok(&'static str),
    Err(&'static str),
}

Variants§

§1.0.0

Ok(&'static str)

Contains the success value

§1.0.0

Err(&'static str)

Contains the error value