Type Alias rustls::server::hs::NextStateOrError

source ·
pub(super) type NextStateOrError = Result<Box<dyn State<ServerConnectionData>>, Error>;

Aliased Type§

enum NextStateOrError {
    Ok(Box<dyn State<ServerConnectionData>>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Box<dyn State<ServerConnectionData>>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value