Function http::uri::authority::create_authority

source ยท
fn create_authority<B, F>(b: B, f: F) -> Result<Authority, InvalidUri>
where B: AsRef<[u8]>, F: FnOnce(B) -> Bytes,