Type Alias xcb::ProtocolResult

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

The result type associated with ProtocolError.

Aliased Type§

enum ProtocolResult<T> {
    Ok(T),
    Err(ProtocolError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ProtocolError)

Contains the error value