Trait websocket::ws::util::url::ToWebSocketUrlComponents
[-] [+]
[src]
pub trait ToWebSocketUrlComponents {
fn to_components(&self) -> WebSocketResult<(Host, String, bool)>;
}Trait that gets required WebSocket URL components
Required Methods
fn to_components(&self) -> WebSocketResult<(Host, String, bool)>
Retrieve the required WebSocket URL components from this
Implementors
impl ToWebSocketUrlComponents for strimpl ToWebSocketUrlComponents for Urlimpl ToWebSocketUrlComponents for (Host, String, bool)impl<'a> ToWebSocketUrlComponents for (Host, &'a str, bool)impl<'a> ToWebSocketUrlComponents for (Host, &'a str)impl ToWebSocketUrlComponents for (Host, String)impl ToWebSocketUrlComponents for (UrlHost, u16, String, bool)impl<'a> ToWebSocketUrlComponents for (UrlHost, u16, &'a str, bool)impl<'a, T: ToWebSocketUrlComponents> ToWebSocketUrlComponents for &'a T