[−][src]Struct ommui_data::samplic::filesystem::Device
Methods
impl<'a, P: AsRef<Path>> Device<'a, P>
[src]
pub fn new(inner: &'a Device<P>) -> Self
[src]
pub fn system_dir(&self) -> PathBuf
[src]
pub fn samplic_dir(&self) -> PathBuf
[src]
pub fn data_dir(&self) -> PathBuf
[src]
pub fn config_dir(&self) -> PathBuf
[src]
pub fn units_dir(&self) -> PathBuf
[src]
pub fn unit_file(&self, unit_id: &str) -> PathBuf
[src]
pub fn translations_dir(&self) -> PathBuf
[src]
pub fn translation_file(&self, translation_id: &str) -> PathBuf
[src]
pub fn sample_index_file(&self) -> PathBuf
[src]
pub fn samples_dir(&self) -> PathBuf
[src]
pub fn sample_dir(&self, sample_id: Uuid) -> PathBuf
[src]
pub fn sample_metadata_file(&self, sample_id: Uuid) -> PathBuf
[src]
pub fn measurements_dir(&self, sample_id: Uuid) -> PathBuf
[src]
pub fn measurement_dir(
&self,
sample_id: Uuid,
measurement_index: usize
) -> PathBuf
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> PathBuf
pub fn measurement_metadata_file(
&self,
sample_id: Uuid,
measurement_index: usize
) -> PathBuf
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> PathBuf
pub fn curves_dir(&self, sample_id: Uuid, measurement_index: usize) -> PathBuf
[src]
pub fn curve_file(
&self,
sample_id: Uuid,
measurement_index: usize,
curve_id: &str
) -> PathBuf
[src]
&self,
sample_id: Uuid,
measurement_index: usize,
curve_id: &str
) -> PathBuf
pub fn results_file(&self, sample_id: Uuid, measurement_index: usize) -> PathBuf
[src]
pub fn description_dir(&self) -> PathBuf
[src]
pub fn samplings_dir(&self) -> PathBuf
[src]
pub fn sampling_file(&self, sampling_id: &str) -> PathBuf
[src]
pub fn device_dir(&self) -> PathBuf
[src]
pub fn device_samplic_dir(&self) -> PathBuf
[src]
pub fn device_description_file(&self) -> PathBuf
[src]
pub fn system_profiles_dir(&self) -> PathBuf
[src]
pub fn system_profile_dir(&self, profile_id: Uuid) -> PathBuf
[src]
pub fn system_profile_file(&self, profile_id: Uuid) -> PathBuf
[src]
pub fn user_profiles_dir(&self) -> PathBuf
[src]
pub fn user_profile_dir(&self, profile_id: Uuid) -> PathBuf
[src]
pub fn user_profile_file(&self, profile_id: Uuid) -> PathBuf
[src]
pub fn images_dir(&self) -> PathBuf
[src]
pub fn icons_dir(&self) -> PathBuf
[src]
pub fn icon_file(&self, icon_id: &str) -> PathBuf
[src]
Trait Implementations
impl<'a, P: AsRef<Path>> LoadableDevice for Device<'a, P>
[src]
fn load_unit_index(&self) -> Result<IndexSet<String>>
[src]
fn load_unit(&self, unit_id: &str) -> Result<UnitDescription>
[src]
fn load_translation_index(&self) -> Result<IndexSet<String>>
[src]
fn load_translation(&self, translation_id: &str) -> Result<Translation>
[src]
fn load_sample_metadata(&self, sample_id: Uuid) -> Result<SampleMetadata>
[src]
fn load_measurement_metadata(
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<MeasurementMetadata>
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<MeasurementMetadata>
fn load_curve(
&self,
sample_id: Uuid,
measurement_index: usize,
curve_id: &str
) -> Result<Curve>
[src]
&self,
sample_id: Uuid,
measurement_index: usize,
curve_id: &str
) -> Result<Curve>
fn load_curve_index(
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<IndexSet<String>>
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<IndexSet<String>>
fn load_results(
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<MeasurementResults>
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<MeasurementResults>
fn load_sampling_index(&self) -> Result<IndexSet<String>>
[src]
fn load_measurement_index(&self, sample_id: Uuid) -> Result<IndexSet<usize>>
[src]
fn load_sample_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_device_description(&self) -> Result<DeviceDescription>
[src]
fn load_system_profile(&self, profile_id: Uuid) -> Result<ProfileDescription>
[src]
fn load_system_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_user_profile(&self, profile_id: Uuid) -> Result<ProfileDescription>
[src]
fn load_user_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_sampling(&self, sampling_id: &str) -> Result<Sampling>
[src]
fn load_icon(&self, icon_id: &str) -> Result<Icon>
[src]
fn load_icon_index(&self) -> Result<IndexSet<String>>
[src]
fn load_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_profile(&self, profile_id: Uuid) -> Result<ProfileDescription>
[src]
fn load_units(&self) -> Result<IndexMap<String, UnitDescription>>
[src]
fn load_translations(
&self
) -> Result<IndexMap<String, IndexMap<String, String>>>
[src]
&self
) -> Result<IndexMap<String, IndexMap<String, String>>>
fn load_curves(
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<IndexMap<String, Curve>>
[src]
&self,
sample_id: Uuid,
measurement_index: usize
) -> Result<IndexMap<String, Curve>>
fn load_measurement(&self, sample_id: Uuid, index: usize) -> Result<Measurement>
[src]
fn load_measurements(
&self,
sample_id: Uuid
) -> Result<IndexMap<usize, Measurement>>
[src]
&self,
sample_id: Uuid
) -> Result<IndexMap<usize, Measurement>>
fn load_sample(&self, sample_id: Uuid) -> Result<Sample>
[src]
fn load_samples(&self) -> Result<IndexMap<Uuid, Sample>>
[src]
fn load_system_profiles(&self) -> Result<IndexMap<Uuid, ProfileDescription>>
[src]
fn load_user_profiles(&self) -> Result<IndexMap<Uuid, ProfileDescription>>
[src]
fn load_samplings(&self) -> Result<IndexMap<String, Sampling>>
[src]
fn load_description(&self) -> Result<Description>
[src]
fn load_icons(&self) -> Result<IndexMap<String, String>>
[src]
impl<'a, P: AsRef<Path>> StorableDevice for Device<'a, P>
[src]
fn store_user_profile(
&mut self,
profile_id: Uuid,
profile: &ProfileDescription
) -> Result<()>
[src]
&mut self,
profile_id: Uuid,
profile: &ProfileDescription
) -> Result<()>
impl<'a, P: Debug + AsRef<Path>> Debug for Device<'a, P>
[src]
Auto Trait Implementations
impl<'a, P> Sync for Device<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Send for Device<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Unpin for Device<'a, P>
impl<'a, P> RefUnwindSafe for Device<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<'a, P> UnwindSafe for Device<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,