[−][src]Enum metrix::snapshot::FindItem
Variants
Found(&'a ItemKind)
Methods
impl<'a> FindItem<'a>
[src]
pub fn opt(&self) -> Option<&ItemKind>
[src]
pub fn find_with_separator(&self, path: &str, separator: char) -> FindItem
[src]
pub fn find(&self, path: &str) -> FindItem
[src]
pub fn to_duration_nanoseconds(&self) -> FindDurationItem
[src]
pub fn to_duration_microseconds(&self) -> FindDurationItem
[src]
pub fn to_duration_milliseconds(&self) -> FindDurationItem
[src]
pub fn to_duration_seconds(&self) -> FindDurationItem
[src]
Trait Implementations
impl<'a> Clone for FindItem<'a>
[src]
impl<'a> PartialEq<FindItem<'a>> for FindItem<'a>
[src]
impl<'a> Display for FindItem<'a>
[src]
impl<'a> Debug for FindItem<'a>
[src]
impl<'a> StructuralPartialEq for FindItem<'a>
[src]
Auto Trait Implementations
impl<'a> Send for FindItem<'a>
impl<'a> Sync for FindItem<'a>
impl<'a> Unpin for FindItem<'a>
impl<'a> UnwindSafe for FindItem<'a>
impl<'a> RefUnwindSafe for FindItem<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,