pub struct WsTransportService { /* private fields */ }Expand description
Service that adds a WsTransport filter to an I/O stream.
Implementations§
Trait Implementations§
Source§impl Clone for WsTransportService
impl Clone for WsTransportService
Source§fn clone(&self) -> WsTransportService
fn clone(&self) -> WsTransportService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WsTransportService
impl Debug for WsTransportService
Source§impl<F: Filter> Service<(), Io<F>> for WsTransportService
impl<F: Filter> Service<(), Io<F>> for WsTransportService
Source§async fn call(
&self,
io: Io<F>,
_: Ctx<'_, Self, ()>,
) -> Result<Self::Res, Self::Error>
async fn call( &self, io: Io<F>, _: Ctx<'_, Self, ()>, ) -> Result<Self::Res, Self::Error>
Processes a request and asynchronously returns the response. Read more
Source§async fn ready(&self, ctx: Ctx<'_, Self, St>) -> Result<(), Self::Error>
async fn ready(&self, ctx: Ctx<'_, Self, St>) -> Result<(), Self::Error>
Waits until the service is ready to process a request. Read more
Source§fn map<F, Res>(self, f: F) -> ServiceChain<Map<F, Self, Res>, St, Req>
fn map<F, Res>(self, f: F) -> ServiceChain<Map<F, Self, Res>, St, Req>
Maps this service’s output to a different type, returning a new service. Read more
Source§fn map_err<F, E>(self, f: F) -> ServiceChain<MapErr<F, Self, E>, St, Req>
fn map_err<F, E>(self, f: F) -> ServiceChain<MapErr<F, Self, E>, St, Req>
Maps this service’s error to a different type, returning a new service. Read more
Auto Trait Implementations§
impl !Freeze for WsTransportService
impl !RefUnwindSafe for WsTransportService
impl !Sync for WsTransportService
impl Send for WsTransportService
impl Unpin for WsTransportService
impl UnsafeUnpin for WsTransportService
impl UnwindSafe for WsTransportService
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, St, Req> IntoService<S, St, Req> for Swhere
S: Service<St, Req>,
impl<S, St, Req> IntoService<S, St, Req> for Swhere
S: Service<St, Req>,
Source§fn into_service(self) -> S
fn into_service(self) -> S
Converts this value into a service.