Trait Address
kayrx::connect
pub trait Address: Unpin { fn host(&self) -> &str; fn port(&self) -> Option<u16>; }
Connect request
fn host(&self) -> &str
Host name of the request
fn port(&self) -> Option<u16>
Port of the request
impl Address for String
impl Address for &'static str
impl Address for Uri