Type Alias ShadowsocksResult

Source
pub type ShadowsocksResult<T = ()> = Result<T, ShadowsocksError>;
Expand description

A result with a shadowsocks-specific error.

Aliased Type§

pub enum ShadowsocksResult<T = ()> {
    Ok(T),
    Err(ShadowsocksError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ShadowsocksError)

Contains the error value