pub trait ToSocketDestination {
// Required method
fn to_destination_address(
&self,
) -> Result<DestinationAddress, ProxyStreamError>;
}Required Methods§
fn to_destination_address(&self) -> Result<DestinationAddress, ProxyStreamError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".