Function url::from_str[src]

pub fn from_str(rawurl: &str) -> Result<Url, String>

Parses a URL, converting it from a string to Url representation.

Arguments

rawurl - a string representing the full URL, including scheme.

Returns

A Url struct type representing the URL.