[−][src]Struct ommui_data::ommui::filesystem::Device
Methods
impl Device
[src]
pub fn new(inner: Device) -> Self
[src]
pub fn device_dir(&self) -> PathBuf
[src]
pub fn config_dir(&self) -> PathBuf
[src]
pub fn cache_dir(&self) -> PathBuf
[src]
pub fn system_profiles_file(&self) -> PathBuf
[src]
pub fn user_profiles_file(&self) -> PathBuf
[src]
pub fn device_settings_file(&self) -> PathBuf
[src]
pub fn description_calibration_dir(&self, calibration_id: &str) -> PathBuf
[src]
pub fn calibration_description_file(&self, calibration_id: &str) -> PathBuf
[src]
pub fn sampling_dir(&self, sampling_id: &str) -> PathBuf
[src]
pub fn sampling_settings_file(&self, sampling_id: &str) -> PathBuf
[src]
pub fn calibrations_dir(&self) -> PathBuf
[src]
pub fn calibration_dir(&self, calibration_id: &str) -> PathBuf
[src]
pub fn calibration_file(&self, calibration_id: &str) -> PathBuf
[src]
pub fn sample_cached_information_file(&self) -> PathBuf
[src]
Trait Implementations
impl LoadableDevice for Device
[src]
fn load_system_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_user_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_calibration_index(&self) -> Result<IndexSet<String>>
[src]
fn load_device_settings(&self) -> Result<DeviceSettings>
[src]
fn load_calibration_description(
&self,
calibration_id: &str
) -> Result<CalibrationDescription>
[src]
&self,
calibration_id: &str
) -> Result<CalibrationDescription>
fn load_sampling_settings(&self, sampling_id: &str) -> Result<SamplingSettings>
[src]
fn load_calibration(&self, calibration_id: &str) -> Result<Calibration>
[src]
fn load_sample_cached_information(
&self
) -> Result<IndexMap<Uuid, SampleCachedInformation>>
[src]
&self
) -> Result<IndexMap<Uuid, SampleCachedInformation>>
fn load_calibrations(&self) -> Result<IndexMap<String, Calibration>>
[src]
fn load_sampling(&self, sampling_id: &str) -> Result<Sampling>
[src]
impl StorableDevice for Device
[src]
fn store_calibration(
&mut self,
calibration_id: &str,
calibration: &Calibration
) -> Result<()>
[src]
&mut self,
calibration_id: &str,
calibration: &Calibration
) -> Result<()>
fn store_device_settings(&mut self, settings: &DeviceSettings) -> Result<()>
[src]
fn store_sample_cached_information(
&self,
cached_information: &IndexMap<Uuid, SampleCachedInformation>
) -> Result<()>
[src]
&self,
cached_information: &IndexMap<Uuid, SampleCachedInformation>
) -> Result<()>
impl Debug for Device
[src]
Auto Trait Implementations
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
impl RefUnwindSafe for Device
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, 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<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,