Skip to main content

IntoUrl

Trait IntoUrl 

Source
pub trait IntoUrl {
    // Required method
    fn into_url(self) -> Result<Url, ParseError>;
}
Expand description

Conversion into a parsed URL for request builders.

Required Methods§

Source

fn into_url(self) -> Result<Url, ParseError>

Converts this value into a URL.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoUrl for &String

Source§

impl IntoUrl for &str

Source§

impl IntoUrl for String

Source§

impl IntoUrl for Url

Implementors§