Type Alias litep2p::yamux::Result

source ·
pub type Result<T> = Result<T, ConnectionError>;

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ConnectionError)

Contains the error value