feat(client): add set_scheme, set_host, and set_port for Destination

Closes #1564
This commit is contained in:
Sean McArthur
2018-06-18 15:21:41 -07:00
committed by GitHub
parent e4ebf44823
commit 27db8b0061
2 changed files with 262 additions and 1 deletions

View File

@@ -350,6 +350,12 @@ impl From<http::uri::InvalidUri> for Parse {
}
}
impl From<http::uri::InvalidUriParts> for Parse {
fn from(_: http::uri::InvalidUriParts) -> Parse {
Parse::Uri
}
}
#[doc(hidden)]
trait AssertSendSync: Send + Sync + 'static {}
#[doc(hidden)]