pub enum RemoteTransportKind {
Http,
Ssh,
Git,
Local,
Bundle,
}Expand description
Coarse transport classification for capability lookups.
Variants§
Implementations§
Source§impl RemoteTransportKind
impl RemoteTransportKind
pub fn from_url_scheme(url: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for RemoteTransportKind
impl Clone for RemoteTransportKind
Source§fn clone(&self) -> RemoteTransportKind
fn clone(&self) -> RemoteTransportKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteTransportKind
Source§impl Debug for RemoteTransportKind
impl Debug for RemoteTransportKind
impl Eq for RemoteTransportKind
Source§impl PartialEq for RemoteTransportKind
impl PartialEq for RemoteTransportKind
Source§fn eq(&self, other: &RemoteTransportKind) -> bool
fn eq(&self, other: &RemoteTransportKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoteTransportKind
Auto Trait Implementations§
impl Freeze for RemoteTransportKind
impl RefUnwindSafe for RemoteTransportKind
impl Send for RemoteTransportKind
impl Sync for RemoteTransportKind
impl Unpin for RemoteTransportKind
impl UnsafeUnpin for RemoteTransportKind
impl UnwindSafe for RemoteTransportKind
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