IntoUrl

Trait IntoUrl 

Source
pub trait IntoUrl: IntoUrlSealed { }
Expand description

Try to convert some type into a Url.

This trait is “sealed”, such that only types within payjoin can implement it.

This design is inspired by the reqwest crate’s design: see https://docs.rs/reqwest/latest/reqwest/trait.IntoUrl.html

Implementations on Foreign Types§

Source§

impl IntoUrl for &str

Available on crate feature _core only.
Source§

impl IntoUrl for &String

Available on crate feature _core only.
Source§

impl IntoUrl for String

Available on crate feature _core only.

Implementors§

Source§

impl IntoUrl for &Url

Available on crate feature _core only.
Source§

impl IntoUrl for Url

Available on crate feature _core only.