#[repr(transparent)]pub struct Uri { /* private fields */ }Implementations
This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.pub fn build(
flags: UriFlags,
scheme: &str,
userinfo: Option<&str>,
host: Option<&str>,
port: i32,
path: &str,
query: Option<&str>,
fragment: Option<&str>
) -> Uri
This is supported on crate feature
v2_66 only.pub fn build_with_user(
flags: UriFlags,
scheme: &str,
user: Option<&str>,
password: Option<&str>,
auth_params: Option<&str>,
host: Option<&str>,
port: i32,
path: &str,
query: Option<&str>,
fragment: Option<&str>
) -> Uri
This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.pub fn escape_string(
unescaped: &str,
reserved_chars_allowed: Option<&str>,
allow_utf8: bool
) -> GString
This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.pub fn join(
flags: UriFlags,
scheme: Option<&str>,
userinfo: Option<&str>,
host: Option<&str>,
port: i32,
path: &str,
query: Option<&str>,
fragment: Option<&str>
) -> GString
This is supported on crate feature
v2_66 only.pub fn join_with_user(
flags: UriFlags,
scheme: Option<&str>,
user: Option<&str>,
password: Option<&str>,
auth_params: Option<&str>,
host: Option<&str>,
port: i32,
path: &str,
query: Option<&str>,
fragment: Option<&str>
) -> GString
This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.pub fn resolve_relative(
base_uri_string: Option<&str>,
uri_ref: &str,
flags: UriFlags
) -> Result<GString, Error>
This is supported on crate feature
v2_66 only.pub fn split(
uri_ref: &str,
flags: UriFlags
) -> Result<(Option<GString>, Option<GString>, Option<GString>, i32, GString, Option<GString>, Option<GString>), Error>
This is supported on crate feature
v2_66 only.pub fn split_network(
uri_string: &str,
flags: UriFlags
) -> Result<(Option<GString>, Option<GString>, i32), Error>
This is supported on crate feature
v2_66 only.pub fn split_with_user(
uri_ref: &str,
flags: UriFlags
) -> Result<(Option<GString>, Option<GString>, Option<GString>, Option<GString>, Option<GString>, i32, GString, Option<GString>, Option<GString>), Error>
This is supported on crate feature
v2_66 only.pub fn unescape_bytes(
escaped_string: &str,
illegal_characters: Option<&str>
) -> Result<Bytes, Error>
This is supported on crate feature
v2_66 only.pub fn unescape_segment(
escaped_string: Option<&str>,
escaped_string_end: Option<&str>,
illegal_characters: Option<&str>
) -> Option<GString>
This is supported on crate feature
v2_66 only.This is supported on crate feature
v2_66 only.Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue clone of self.