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
A source supported by the Remotes syntax.
Variants§
Unspecified(String)
A slash-free payload with no explicit source type.
Cran(CranRemote)
An explicit CRAN package.
GitHub(HostedGitRemote)
A GitHub repository.
GitLab(HostedGitRemote)
A GitLab repository.
Bitbucket(HostedGitRemote)
A Bitbucket repository.
Git(GenericGitRemote)
A generic Git repository.
Url(UrlRemote)
An archive available at a URL.
Local(LocalRemote)
A package on the local filesystem.
Svn(SvnRemote)
A Subversion repository.
Bioconductor(BioconductorRemote)
A package in the Bioconductor Git repository.
Unknown(UnknownRemote)
An explicit source type not known by this crate.
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 PartialEq for RemoteSource
impl PartialEq 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