Skip to main content

IntoUriInput

Trait IntoUriInput 

pub trait IntoUriInput: Sealed { }
Available on crate feature net only.
Expand description

Marker trait for inputs accepted by Uri::parse and Uri::parse_strict.

Sealed — implementations are exhaustive and live in this crate. The conversion logic is on the private supertrait so the public API is just the bound.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

§

impl IntoUriInput for &str

§

impl IntoUriInput for &[u8]

Implementors§