Enum tungstenite::protocol::Role [−][src]
pub enum Role {
Server,
Client,
}Indicates a Client or Server role of the websocket
Variants
This socket is a server
This socket is a client
pub enum Role {
Server,
Client,
}Indicates a Client or Server role of the websocket
This socket is a server
This socket is a client
impl Copy for Role[src]impl Eq for Role[src]impl StructuralEq for Role[src]impl StructuralPartialEq for Role[src]impl RefUnwindSafe for Roleimpl Send for Roleimpl Sync for Roleimpl Unpin for Roleimpl UnwindSafe for Role