[][src]Struct ommui_data::samplic::handle::Sample

pub struct Sample<'a> {
    pub device: &'a dyn LoadableDevice,
    pub sample_id: Uuid,
}

Fields

device: &'a dyn LoadableDevicesample_id: Uuid

Methods

impl<'a> Sample<'a>[src]

pub fn get_measurement_ref(
    &'a self,
    measurement_index: usize
) -> Measurement<'a>
[src]

pub fn load_metadata(&self) -> Result<SampleMetadata>[src]

pub fn load_measurement_index(&self) -> Result<IndexSet<usize>>[src]

pub fn load_profile(&'a self) -> Result<ProfileDescription>[src]

pub fn load_sampling(&'a self) -> Result<Sampling>[src]

Auto Trait Implementations

impl<'a> !Sync for Sample<'a>

impl<'a> !Send for Sample<'a>

impl<'a> Unpin for Sample<'a>

impl<'a> !RefUnwindSafe for Sample<'a>

impl<'a> !UnwindSafe for Sample<'a>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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