Type Alias simple_dns::Result

source ·
pub type Result<T> = Result<T, SimpleDnsError>;
Expand description

Alias type for Result<T, SimpleDnsError>;

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(SimpleDnsError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SimpleDnsError)

Contains the error value