[−][src]Enum modio::download::DownloadAction
Defines the action that is performed for Modio::download
.
Variants
Download the primary modfile of a mod.
Download a specific modfile of a mod.
Download a specific modfile.
Download a specific version of a mod.
Fields of Version
Trait Implementations
impl Debug for DownloadAction
[src]
impl<'a> From<(u32, u32, &'a str)> for DownloadAction
[src]
Convert (u32, u32, &'a str)
to DownloadAction::Version
with resolve policy
set to ResolvePolicy::Latest
impl From<(u32, u32, String)> for DownloadAction
[src]
Convert (u32, u32, String)
to DownloadAction::Version
with resolve policy
set to ResolvePolicy::Latest
impl From<(u32, u32, u32)> for DownloadAction
[src]
Convert (u32, u32, u32)
to DownloadAction::File
impl From<(u32, u32)> for DownloadAction
[src]
Convert (u32, u32)
to DownloadAction::Primary
impl From<File> for DownloadAction
[src]
Convert File
to DownloadAction::FileObj
pub fn from(file: File) -> DownloadAction
[src]
impl From<Mod> for DownloadAction
[src]
Convert Mod
to DownloadAction::File
or DownloadAction::Primary
if Mod::modfile
is None
pub fn from(m: Mod) -> DownloadAction
[src]
Auto Trait Implementations
impl RefUnwindSafe for DownloadAction
[src]
impl Send for DownloadAction
[src]
impl Sync for DownloadAction
[src]
impl Unpin for DownloadAction
[src]
impl UnwindSafe for DownloadAction
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub 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>,