Enum url::SchemeType
[-] [+]
[src]
pub enum SchemeType {
NonRelative,
Relative(u16),
FileLike,
}Determines the behavior of the URL parser for a given scheme.
pub enum SchemeType {
NonRelative,
Relative(u16),
FileLike,
}Determines the behavior of the URL parser for a given scheme.
impl SchemeTypefn default_port(&self) -> Option<u16>fn same_as(&self, other: SchemeType) -> boolimpl Ord for SchemeTypefn cmp(&self, __arg_0: &SchemeType) -> Orderingimpl PartialOrd for SchemeTypefn partial_cmp(&self, __arg_0: &SchemeType) -> Option<Ordering>fn lt(&self, __arg_0: &SchemeType) -> boolfn le(&self, __arg_0: &SchemeType) -> boolfn gt(&self, __arg_0: &SchemeType) -> boolfn ge(&self, __arg_0: &SchemeType) -> boolimpl Hash for SchemeTypefn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Clone for SchemeTypefn clone(&self) -> SchemeTypefn clone_from(&mut self, source: &Self)impl Debug for SchemeTypeimpl Copy for SchemeTypeimpl Eq for SchemeTypeimpl PartialEq for SchemeTypefn eq(&self, __arg_0: &SchemeType) -> boolfn ne(&self, __arg_0: &SchemeType) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).