Enum soketto::handshake::client::ServerResponse [−][src]
pub enum ServerResponse { Accepted { protocol: Option<String>, }, Redirect { status_code: u16, location: String, }, Rejected { status_code: u16, }, }
Expand description
Handshake response received from the server.
Variants
The server has accepted our request.
The server is redirecting us to some other location.
Show fields
The server rejected our request.
Show fields
Fields of Rejected
status_code: u16
HTTP response status code.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ServerResponse
impl Send for ServerResponse
impl Sync for ServerResponse
impl Unpin for ServerResponse
impl UnwindSafe for ServerResponse