pub enum Scheme {
File,
Ftp,
Ftps,
Git,
GitSsh,
Http,
Https,
Ssh,
Unspecified,
}
Expand description
Supported uri schemes for parsing
Variants§
File
Represents file://
url scheme
Ftp
Represents ftp://
url scheme
Ftps
Represents ftps://
url scheme
Git
Represents git://
url scheme
GitSsh
Represents git+ssh://
url scheme
Http
Represents http://
url scheme
Https
Represents https://
url scheme
Ssh
Represents ssh://
url scheme
Unspecified
Represents No url scheme
Trait Implementations§
Source§impl VariantNames for Scheme
impl VariantNames for Scheme
impl Copy for Scheme
impl Eq for Scheme
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnwindSafe for Scheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more