pub enum ArtifactTransportPolicy {
HttpsOnly,
HttpsOrLoopbackHttp,
}Expand description
Network transports permitted for an artifact URL.
Variants§
HttpsOnly
Require HTTPS for every artifact.
HttpsOrLoopbackHttp
Permit HTTP only when the host is the local machine.
Trait Implementations§
Source§impl Clone for ArtifactTransportPolicy
impl Clone for ArtifactTransportPolicy
Source§fn clone(&self) -> ArtifactTransportPolicy
fn clone(&self) -> ArtifactTransportPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArtifactTransportPolicy
impl Debug for ArtifactTransportPolicy
Source§impl PartialEq for ArtifactTransportPolicy
impl PartialEq for ArtifactTransportPolicy
Source§fn eq(&self, other: &ArtifactTransportPolicy) -> bool
fn eq(&self, other: &ArtifactTransportPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArtifactTransportPolicy
impl Eq for ArtifactTransportPolicy
impl StructuralPartialEq for ArtifactTransportPolicy
Auto Trait Implementations§
impl Freeze for ArtifactTransportPolicy
impl RefUnwindSafe for ArtifactTransportPolicy
impl Send for ArtifactTransportPolicy
impl Sync for ArtifactTransportPolicy
impl Unpin for ArtifactTransportPolicy
impl UnsafeUnpin for ArtifactTransportPolicy
impl UnwindSafe for ArtifactTransportPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.