[−][src]Struct ommui_data::ommui::filesystem::Device
Methods
impl<'a, P: AsRef<Path>> Device<'a, P>
[src]
pub fn new(inner: &'a Device<P>) -> Self
[src]
pub fn device_dir(&self) -> PathBuf
[src]
pub fn config_dir(&self) -> PathBuf
[src]
pub fn system_profiles_file(&self) -> PathBuf
[src]
pub fn user_profiles_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]
Trait Implementations
impl<'a, P: AsRef<Path>> LoadableDevice for Device<'a, P>
[src]
fn load_system_profile_index(&self) -> Result<IndexSet<Uuid>>
[src]
fn load_user_profile_index(&self) -> Result<IndexSet<Uuid>>
[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]
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>,