pub struct SocketIoLayer<A = LocalAdapter>where
A: Adapter,{ /* private fields */ }Expand description
Re-exported public API.
A Layer for SocketIoService, acting as a middleware.
Trait Implementations§
Source§impl<A> Clone for SocketIoLayer<A>where
A: Adapter,
impl<A> Clone for SocketIoLayer<A>where
A: Adapter,
Source§fn clone(&self) -> SocketIoLayer<A>
fn clone(&self) -> SocketIoLayer<A>
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<S, A> Layer<S> for SocketIoLayer<A>
impl<S, A> Layer<S> for SocketIoLayer<A>
Source§type Service = SocketIoService<S, A>
type Service = SocketIoService<S, A>
The wrapped service
Auto Trait Implementations§
impl<A> Freeze for SocketIoLayer<A>
impl<A> RefUnwindSafe for SocketIoLayer<A>
impl<A> Send for SocketIoLayer<A>
impl<A> Sync for SocketIoLayer<A>
impl<A> Unpin for SocketIoLayer<A>
impl<A> UnsafeUnpin for SocketIoLayer<A>
impl<A> UnwindSafe for SocketIoLayer<A>
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