Searched refs:set_scheme (Results 1 – 3 of 3) sorted by relevance
66 url.set_scheme(new_protocol) in set_protocol()
2223 pub fn set_scheme(&mut self, scheme: &str) -> Result<(), ()> { in set_scheme() method
380 url.set_scheme("https").unwrap(); in issue_61()899 let result = url.set_scheme("file");