pub struct Server<Req, Resp> { /* private fields */ }
Expand description
Manages clients, serving multiplexed requests over each connection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Req, Resp> Freeze for Server<Req, Resp>
impl<Req, Resp> RefUnwindSafe for Server<Req, Resp>where
Req: RefUnwindSafe,
Resp: RefUnwindSafe,
impl<Req, Resp> Send for Server<Req, Resp>
impl<Req, Resp> Sync for Server<Req, Resp>
impl<Req, Resp> Unpin for Server<Req, Resp>
impl<Req, Resp> UnwindSafe for Server<Req, Resp>where
Req: UnwindSafe,
Resp: UnwindSafe,
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