Struct websocket::server::upgrade::sync::RequestStreamPair [−][src]
If you have your requests separate from your stream you can use this struct to upgrade the connection based on the request given (the request should be a handshake).
Trait Implementations
impl<S> IntoWs for RequestStreamPair<S> where
S: Stream,
[src][+]
S: Stream,
Auto Trait Implementations
impl<S> !RefUnwindSafe for RequestStreamPair<S>
impl<S> Send for RequestStreamPair<S> where
S: Send,
S: Send,
impl<S> !Sync for RequestStreamPair<S>
impl<S> Unpin for RequestStreamPair<S> where
S: Unpin,
S: Unpin,
impl<S> !UnwindSafe for RequestStreamPair<S>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,