pub type ProtoResult<T> = Result<T, ProtoError>;
Expand description

An alias for results returned by functions of this crate

Aliased Type§

enum ProtoResult<T> {
    Ok(T),
    Err(ProtoError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ProtoError)

Contains the error value