[−][src]Enum rhymuri::Context
This enumerates the various places where an error might occur parsing a URI.
Variants
This is the fragment of the URI, such as #baz
in
http://www.example.com/foo?bar#baz
.
This is the host name of the URI, such as www.example.com
in
http://www.example.com/foo?bar#baz
.
This is the IPv4 portion of the IPv6 host name in the URI, such as
1.2.3.4
in http://[::ffff:1.2.3.4]/foo?bar#baz
.
This is the IPv6 host name in the URI, such as
::ffff:1.2.3.4
in http://[::ffff:1.2.3.4]/foo?bar#baz
.
This is the IPvFuture
host name in the URI, such as
v7.aB
in http://[v7.aB]/foo?bar#baz
.
This is the path of the URI, such as /foo
in
http://www.example.com/foo?bar#baz
.
This is the query of the URI, such as ?bar
in
http://www.example.com/foo?bar#baz
.
This is the scheme of the URI, such as http
in
http://www.example.com/foo?bar#baz
.
This is the scheme of the URI, such as nobody
in
http://nobody@www.example.com/foo?bar#baz
.
Trait Implementations
impl Clone for Context
[src]
impl Copy for Context
[src]
impl Debug for Context
[src]
impl Display for Context
[src]
impl PartialEq<Context> for Context
[src]
pub fn eq(&self, other: &Context) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Context
[src]
Auto Trait Implementations
impl RefUnwindSafe for Context
[src]
impl Send for Context
[src]
impl Sync for Context
[src]
impl Unpin for Context
[src]
impl UnwindSafe for Context
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,