[−][src]Struct rustsec::advisory::affected::FunctionPath
Canonical Rust Paths (sans parameters) to vulnerable types and/or functions affected by a particular advisory. https://doc.rust-lang.org/reference/paths.html#canonical-paths
Methods
impl FunctionPath
[src]
pub fn crate_name(&self) -> &str
[src]
Get the crate name for this path
pub fn into_vec(self) -> Vec<Identifier>
[src]
Convert this path into an owned vector of Identifier
s
pub fn iter(&self) -> Iter<Identifier>
[src]
Iterate over the segments of this path
pub fn segments(&self) -> &[Identifier]
[src]
Borrow the segments of this path
Trait Implementations
impl Clone for FunctionPath
[src]
fn clone(&self) -> FunctionPath
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FunctionPath
[src]
impl<'de> Deserialize<'de> for FunctionPath
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Display for FunctionPath
[src]
impl Eq for FunctionPath
[src]
impl FromStr for FunctionPath
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(path: &str) -> Result<Self, Error>
[src]
Parse a canonical, parameter-free path contained in an advisory
impl Hash for FunctionPath
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for FunctionPath
[src]
fn cmp(&self, other: &FunctionPath) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<FunctionPath> for FunctionPath
[src]
fn eq(&self, other: &FunctionPath) -> bool
[src]
fn ne(&self, other: &FunctionPath) -> bool
[src]
impl PartialOrd<FunctionPath> for FunctionPath
[src]
fn partial_cmp(&self, other: &FunctionPath) -> Option<Ordering>
[src]
fn lt(&self, other: &FunctionPath) -> bool
[src]
fn le(&self, other: &FunctionPath) -> bool
[src]
fn gt(&self, other: &FunctionPath) -> bool
[src]
fn ge(&self, other: &FunctionPath) -> bool
[src]
impl Serialize for FunctionPath
[src]
impl StructuralEq for FunctionPath
[src]
impl StructuralPartialEq for FunctionPath
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionPath
impl Send for FunctionPath
impl Sync for FunctionPath
impl Unpin for FunctionPath
impl UnwindSafe for FunctionPath
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: 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,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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>,