Fields
globals: Arc<Globals>Implementations
sourceimpl DoH
impl DoH
pub async fn start_with_tls(
self,
listener: TcpListener,
server: Http<LocalExecutor>
) -> Result<(), DoHError>
Trait Implementations
sourceimpl Service<Request<Body>> for DoH
impl Service<Request<Body>> for DoH
type Future = Pin<Box<dyn Future<Output = Result<<DoH as Service<Request<Body>>>::Response, <DoH as Service<Request<Body>>>::Error>> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = Result<<DoH as Service<Request<Body>>>::Response, <DoH as Service<Request<Body>>>::Error>> + Send + 'static, Global>>
The future response value.
Auto Trait Implementations
impl !RefUnwindSafe for DoH
impl Send for DoH
impl Sync for DoH
impl Unpin for DoH
impl !UnwindSafe for DoH
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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