pub struct Server<'a, T> { /* private fields */ }
Expand description
Serve requests.
Requests are passed to each service in turn and the first service that returns a response wins.
Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more