Struct finchers_tungstenite::WsEndpoint [−][src]
pub struct WsEndpoint { /* fields omitted */ }
An instance of Endpoint
which handles the WebSocket handshake request.
Trait Implementations
impl Debug for WsEndpoint
[src]
impl Debug for WsEndpoint
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for WsEndpoint
[src]
impl Copy for WsEndpoint
impl Clone for WsEndpoint
[src]
impl Clone for WsEndpoint
fn clone(&self) -> WsEndpoint
[src]
fn clone(&self) -> WsEndpoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Endpoint<'a> for WsEndpoint
[src]
impl<'a> Endpoint<'a> for WsEndpoint
type Output = (Ws,)
The inner type associated with this endpoint.
type Future = WsFuture
The type of value which will be returned from apply
.
fn apply(&'a self, _: &mut ApplyContext) -> ApplyResult<Self::Future>
[src]
fn apply(&'a self, _: &mut ApplyContext) -> ApplyResult<Self::Future>
Perform checking the incoming HTTP request and returns an instance of the associated Future if matched. Read more
fn with_output<T>(self) -> Self where
Self: Endpoint<'a, Output = T>,
T: Tuple,
[src]
fn with_output<T>(self) -> Self where
Self: Endpoint<'a, Output = T>,
T: Tuple,
Add an annotation that the associated type Output
is fixed to T
.
fn wrap<W>(self, wrapper: W) -> <W as Wrapper<'a, Self>>::Endpoint where
W: Wrapper<'a, Self>,
[src]
fn wrap<W>(self, wrapper: W) -> <W as Wrapper<'a, Self>>::Endpoint where
W: Wrapper<'a, Self>,
Converts self
using the provided Wrapper
.
Auto Trait Implementations
impl Send for WsEndpoint
impl Send for WsEndpoint
impl Sync for WsEndpoint
impl Sync for WsEndpoint