hickory_proto::h2

Type Alias HttpsResult

Source
pub type HttpsResult<T> = Result<T, Error>;
Available on crate feature dns-over-https-rustls and (crate features dns-over-https-rustls or dns-over-h3) only.
Expand description

An alias for results returned by functions of this crate

Aliased Type§

enum HttpsResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value