Type Alias wsocket::WSocketResult

source ·
pub type WSocketResult<T> = Result<T, WebsocketError>;

Aliased Type§

enum WSocketResult<T> {
    Ok(T),
    Err(WebsocketError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(WebsocketError)

Contains the error value