pub trait URIComponentsTrait {
// Required methods
fn get(&self, key: &str) -> Option<&str>;
fn get_string(&self, key: &str) -> Option<String>;
fn kind(&self) -> Option<URIKind>;
// Provided methods
fn as_doc(&self) -> Option<DocURIComponents> { ... }
fn as_comps(&self) -> Option<URIComponents> { ... }
fn parse(&self) -> Option<URI> { ... }
}
Required Methods§
fn get(&self, key: &str) -> Option<&str>
fn get_string(&self, key: &str) -> Option<String>
fn kind(&self) -> Option<URIKind>
Provided Methods§
fn as_doc(&self) -> Option<DocURIComponents>
fn as_comps(&self) -> Option<URIComponents>
fn parse(&self) -> Option<URI>
Available on crate feature
ssr
only.