pub enum ArtifactSource {
Local(PathBuf),
Remote {
url: String,
},
}Expand description
How an artifact can be accessed.
Variants§
Local(PathBuf)
Artifact is available as a local file.
Remote
Artifact is available at a remote URL (not yet downloaded).
Trait Implementations§
Source§impl Clone for ArtifactSource
impl Clone for ArtifactSource
Source§fn clone(&self) -> ArtifactSource
fn clone(&self) -> ArtifactSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArtifactSource
impl RefUnwindSafe for ArtifactSource
impl Send for ArtifactSource
impl Sync for ArtifactSource
impl Unpin for ArtifactSource
impl UnsafeUnpin for ArtifactSource
impl UnwindSafe for ArtifactSource
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