Struct ommui_data::samplic::handle::Sample
source · pub struct Sample<'a> {
pub device: &'a dyn LoadableDevice,
pub sample_id: Uuid,
}
Fields
device: &'a dyn LoadableDevice
sample_id: Uuid
Implementations
sourceimpl<'a> Sample<'a>
impl<'a> Sample<'a>
pub fn get_measurement_ref(&'a self, measurement_index: usize) -> Measurement<'a>
pub fn load_metadata(&self) -> Result<SampleMetadata>
pub fn load_measurement_index(&self) -> Result<DirectoryListing>
pub fn load_profile(&'a self) -> Result<ProfileDescription>
pub fn load_sampling(&'a self) -> Result<SamplingDescription>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Sample<'a>
impl<'a> !Send for Sample<'a>
impl<'a> !Sync for Sample<'a>
impl<'a> Unpin for Sample<'a>
impl<'a> !UnwindSafe for Sample<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more