pub enum RemoteAccess {
Allow,
LocalOnly,
}Expand description
Whether remote artifact access is allowed for a particular requirement.
Variants§
Allow
Allow the artifact to resolve to a remote URL if not available locally.
LocalOnly
Require a local file; fail if not available locally.
Trait Implementations§
Source§impl Clone for RemoteAccess
impl Clone for RemoteAccess
Source§fn clone(&self) -> RemoteAccess
fn clone(&self) -> RemoteAccess
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 moreSource§impl Debug for RemoteAccess
impl Debug for RemoteAccess
Source§impl PartialEq for RemoteAccess
impl PartialEq for RemoteAccess
impl Copy for RemoteAccess
impl Eq for RemoteAccess
impl StructuralPartialEq for RemoteAccess
Auto Trait Implementations§
impl Freeze for RemoteAccess
impl RefUnwindSafe for RemoteAccess
impl Send for RemoteAccess
impl Sync for RemoteAccess
impl Unpin for RemoteAccess
impl UnsafeUnpin for RemoteAccess
impl UnwindSafe for RemoteAccess
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