pub trait UrlExt: Sealed {
// Required method
fn to_socket(&self) -> Result<SocketAddr>;
}Expand description
A sealed extension trait for url::Url that adds convenience functions for binding and
connecting to the url.
Required Methods§
fn to_socket(&self) -> Result<SocketAddr>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".