Type Alias tungstenite::error::Result

source ·
pub type Result<T, E = Error> = Result<T, E>;
Expand description

Result type of all Tungstenite library calls.

Aliased Type§

enum Result<T, E = Error> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Trait Implementations§

source§

impl<T> CheckConnectionReset for Result<T>

source§

impl<T, E> NonBlockingResult for Result<T, E>where E: NonBlockingError,

§

type Result = Result<Option<T>, E>

Type of the converted result: Result<Option<T>, E>
source§

fn no_block(self) -> Self::Result

Perform the non-block conversion.