pub enum EnvironmentSource {
Host,
Caller,
Validation,
Release,
}Expand description
Where a value came from, in precedence order.
Variants§
Host
Inherited from the process running the box.
Caller
Supplied by the caller for this run.
Validation
Forced by a validation run onto one accelerator.
Release
Declared by the signed release. Always wins.
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentSource
impl Clone for EnvironmentSource
Source§fn clone(&self) -> EnvironmentSource
fn clone(&self) -> EnvironmentSource
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 moreimpl Copy for EnvironmentSource
Source§impl Debug for EnvironmentSource
impl Debug for EnvironmentSource
impl Eq for EnvironmentSource
Source§impl Ord for EnvironmentSource
impl Ord for EnvironmentSource
Source§fn cmp(&self, other: &EnvironmentSource) -> Ordering
fn cmp(&self, other: &EnvironmentSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnvironmentSource
impl PartialEq for EnvironmentSource
Source§impl PartialOrd for EnvironmentSource
impl PartialOrd for EnvironmentSource
impl StructuralPartialEq for EnvironmentSource
Auto Trait Implementations§
impl Freeze for EnvironmentSource
impl RefUnwindSafe for EnvironmentSource
impl Send for EnvironmentSource
impl Sync for EnvironmentSource
impl Unpin for EnvironmentSource
impl UnsafeUnpin for EnvironmentSource
impl UnwindSafe for EnvironmentSource
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.