#[repr(u8)]pub enum ThreatModel {
Remote = 0,
RemoteAndLocal = 1,
}Expand description
The sources code scanning treats as untrusted.
Variants§
Trait Implementations§
Source§impl Clone for ThreatModel
impl Clone for ThreatModel
Source§fn clone(&self) -> ThreatModel
fn clone(&self) -> ThreatModel
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 ThreatModel
Source§impl Debug for ThreatModel
impl Debug for ThreatModel
impl Eq for ThreatModel
Source§impl<'ʄ> Facet<'ʄ> for ThreatModel
impl<'ʄ> Facet<'ʄ> for ThreatModel
Source§impl Ord for ThreatModel
impl Ord for ThreatModel
Source§fn cmp(&self, other: &ThreatModel) -> Ordering
fn cmp(&self, other: &ThreatModel) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ThreatModel
impl PartialEq for ThreatModel
Source§impl PartialOrd for ThreatModel
impl PartialOrd for ThreatModel
impl StructuralPartialEq for ThreatModel
Auto Trait Implementations§
impl Freeze for ThreatModel
impl RefUnwindSafe for ThreatModel
impl Send for ThreatModel
impl Sync for ThreatModel
impl Unpin for ThreatModel
impl UnsafeUnpin for ThreatModel
impl UnwindSafe for ThreatModel
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.