pub struct Server { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Service<&AddrStream> for Server
impl Service<&AddrStream> for Server
Source§type Future = Ready<Result<<Server as Service<&AddrStream>>::Response, <Server as Service<&AddrStream>>::Error>>
type Future = Ready<Result<<Server as Service<&AddrStream>>::Response, <Server as Service<&AddrStream>>::Error>>
The future response value.
Source§impl Service<Request<Body>> for Server
impl Service<Request<Body>> for Server
Source§type Future = Pin<Box<dyn Future<Output = Result<<Server as Service<Request<Body>>>::Response, <Server as Service<Request<Body>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<Server as Service<Request<Body>>>::Response, <Server as Service<Request<Body>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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