pub enum RemoteSource {
Unspecified(String),
Cran(CranRemote),
GitHub(HostedGitRemote),
GitLab(HostedGitRemote),
Bitbucket(HostedGitRemote),
Git(GenericGitRemote),
Url(UrlRemote),
Local(LocalRemote),
Svn(SvnRemote),
Bioconductor(BioconductorRemote),
Unknown(UnknownRemote),
}Expand description
Supported remote source forms.
Variants§
Unspecified(String)
An implicit package name.
Cran(CranRemote)
CRAN package.
GitHub(HostedGitRemote)
GitHub repository, including implicit owner/repository syntax.
GitLab(HostedGitRemote)
GitLab repository.
Bitbucket(HostedGitRemote)
Bitbucket repository.
Git(GenericGitRemote)
Generic Git repository.
Url(UrlRemote)
Package archive URL.
Local(LocalRemote)
Local path.
Svn(SvnRemote)
Subversion repository.
Bioconductor(BioconductorRemote)
Bioconductor Git source.
Unknown(UnknownRemote)
Unrecognized explicit source type.
Trait Implementations§
Source§impl Clone for RemoteSource
impl Clone for RemoteSource
Source§impl Debug for RemoteSource
impl Debug for RemoteSource
impl Eq for RemoteSource
Source§impl Hash for RemoteSource
impl Hash for RemoteSource
Source§impl Ord for RemoteSource
impl Ord for RemoteSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RemoteSource
impl PartialEq for RemoteSource
Source§impl PartialOrd for RemoteSource
impl PartialOrd for RemoteSource
impl StructuralPartialEq for RemoteSource
Auto Trait Implementations§
impl Freeze for RemoteSource
impl RefUnwindSafe for RemoteSource
impl Send for RemoteSource
impl Sync for RemoteSource
impl Unpin for RemoteSource
impl UnsafeUnpin for RemoteSource
impl UnwindSafe for RemoteSource
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