[−][src]Enum git_url_parse::Protocol
Supported uri schemes for parsing
Variants
Represents No url scheme
Represents file:// url scheme
Represents http:// url scheme
Represents https:// url scheme
Represents ssh:// url scheme
Represents git:// url scheme
Represents git+ssh:// url scheme
Trait Implementations
impl Debug for Protocol[src]
impl FromStr for Protocol[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Protocol, Self::Err>[src]
impl PartialEq<Protocol> for Protocol[src]
impl StructuralPartialEq for Protocol[src]
impl VariantNames for Protocol[src]
const VARIANTS: &'static [&'static str][src]
Auto Trait Implementations
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,