pub struct WsConnection<F> { /* private fields */ }Implementations§
Source§impl<F> WsConnection<F>
impl<F> WsConnection<F>
Source§impl<F> WsConnection<F>
impl<F> WsConnection<F>
Sourcepub fn into_inner(self) -> (Io<F>, Codec, ClientResponse)
pub fn into_inner(self) -> (Io<F>, Codec, ClientResponse)
Consumes the WsConnection, returning it’as underlying I/O stream object
and response.
Source§impl WsConnection<Sealed>
impl WsConnection<Sealed>
Source§impl<F: Filter> WsConnection<F>
impl<F: Filter> WsConnection<F>
Sourcepub fn seal(self) -> WsConnection<Sealed>
pub fn seal(self) -> WsConnection<Sealed>
Convert I/O stream to boxed stream
Sourcepub fn into_transport(self) -> Io<Layer<WsTransport, F>>
pub fn into_transport(self) -> Io<Layer<WsTransport, F>>
Convert to ws stream to plain io stream
Trait Implementations§
Auto Trait Implementations§
impl<F> !Freeze for WsConnection<F>
impl<F> !RefUnwindSafe for WsConnection<F>
impl<F> !Send for WsConnection<F>
impl<F> !Sync for WsConnection<F>
impl<F> Unpin for WsConnection<F>where
F: Unpin,
impl<F> !UnwindSafe for WsConnection<F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more