pub struct Server<'a, T: Send + Sync> { /* private fields */ }
Expand description
Serve requests.
Requests are passed to each service in turn and the first service that returns a response wins.
Only available with the async
feature.
Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Server<'a, T>
impl<'a, T> !RefUnwindSafe for Server<'a, T>
impl<'a, T> Send for Server<'a, T>
impl<'a, T> Sync for Server<'a, T>
impl<'a, T> Unpin for Server<'a, T>
impl<'a, T> !UnwindSafe for Server<'a, T>
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