Enum gapi_grpc::google::cloud::osconfig::v1alpha::cvs_sv3::AttackComplexity[][src]

[]
#[repr(i32)]pub enum AttackComplexity {
    Unspecified,
    Low,
    High,
}
[]

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Variants

Unspecified
[]

Invalid value.

Low
[]

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

High
[]

A successful attack depends on conditions beyond the attacker’s control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected.

Implementations

impl AttackComplexity[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of AttackComplexity.

pub fn from_i32(value: i32) -> Option<AttackComplexity>[src][]

Converts an i32 to a AttackComplexity, or None if value is not a valid variant.

Trait Implementations

impl Clone for AttackComplexity[src][+]

impl Copy for AttackComplexity[src]

impl Debug for AttackComplexity[src][+]

impl Default for AttackComplexity[src][+]

impl Eq for AttackComplexity[src]

impl From<AttackComplexity> for i32[src][+]

impl Hash for AttackComplexity[src][+]

impl Ord for AttackComplexity[src][+]

impl PartialEq<AttackComplexity> for AttackComplexity[src][+]

impl PartialOrd<AttackComplexity> for AttackComplexity[src][+]

impl StructuralEq for AttackComplexity[src]

impl StructuralPartialEq for AttackComplexity[src]

Auto Trait Implementations

impl RefUnwindSafe for AttackComplexity

impl Send for AttackComplexity

impl Sync for AttackComplexity

impl Unpin for AttackComplexity

impl UnwindSafe for AttackComplexity

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]