ToSocketDestination

Trait ToSocketDestination 

Source
pub trait ToSocketDestination {
    // Required method
    fn to_destination_address(
        &self,
    ) -> Result<DestinationAddress, ProxyStreamError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl ToSocketDestination for &str

Source§

impl ToSocketDestination for SocketAddr

Implementors§