Enum rustsec::advisory::informational::Informational [−][src]
Categories of informational vulnerabilities
Variants (Non-exhaustive)
Security notices for a crate which are published on https://rustsec.org but don’t represent a vulnerability in a crate itself.
Crate is unmaintained / abandoned
Crate is not sound, i.e., unsound.
A crate is unsound if, using its public API from safe code, it is possible to cause Undefined Behavior.
Other(String)
Other types of informational advisories: left open-ended to add more of them in the future.
Implementations
impl Informational
[src]
pub fn as_str(&self) -> &str
[src]
Get a str
representing an Informational
category
pub fn is_notice(&self) -> bool
[src]
Is this informational advisory a notice
?
pub fn is_unmaintained(&self) -> bool
[src]
Is this informational advisory for an unmaintained
crate?
pub fn is_unsound(&self) -> bool
[src]
Is this informational advisory for an unsound
crate?
pub fn is_other(&self) -> bool
[src]
Is this informational advisory of an unknown kind?
pub fn warning_kind(&self) -> Option<Kind>
[src]
Get a warning kind for this informational type (if applicable)
Trait Implementations
impl Clone for Informational
[src]
fn clone(&self) -> Informational
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Informational
[src]
impl<'de> Deserialize<'de> for Informational
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Display for Informational
[src]
impl Eq for Informational
[src]
impl FromStr for Informational
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Error>
[src]
impl Hash for Informational
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Informational
[src]
fn cmp(&self, other: &Informational) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Informational> for Informational
[src]
fn eq(&self, other: &Informational) -> bool
[src]
fn ne(&self, other: &Informational) -> bool
[src]
impl PartialOrd<Informational> for Informational
[src]
fn partial_cmp(&self, other: &Informational) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Informational
[src]
impl StructuralEq for Informational
[src]
impl StructuralPartialEq for Informational
[src]
Auto Trait Implementations
impl RefUnwindSafe for Informational
impl Send for Informational
impl Sync for Informational
impl Unpin for Informational
impl UnwindSafe for Informational
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,