pub enum Mode {
LWP,
Git,
Svn,
}Expand description
Archive download mode
Variants§
LWP
downloads the specified tarball from the archive URL on the web. Automatically internal mode value is updated to either http or ftp by URL.
Git
Access the upstream git archive directly with the git command and packs the source tree with the specified tag via matching-pattern into spkg-version.tar.xz.
Svn
Access the upstream Subversion archive directly with the svn command and packs the source tree.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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