[][src]Struct ommui_data::filesystem::Device

pub struct Device {
    pub system_path: PathBuf,
    pub config_path: PathBuf,
    pub data_path: PathBuf,
    pub cache_path: PathBuf,
    pub product_id: String,
}

Fields

system_path: PathBufconfig_path: PathBufdata_path: PathBufcache_path: PathBufproduct_id: String

Methods

impl Device[src]

pub fn system_dir(&self) -> PathBuf[src]

pub fn config_dir(&self) -> PathBuf[src]

pub fn data_dir(&self) -> PathBuf[src]

pub fn cache_dir(&self) -> PathBuf[src]

pub fn samplic_dir(&self) -> PathBuf[src]

pub fn description_dir(&self) -> PathBuf[src]

pub fn description_calibrations_dir(&self) -> PathBuf[src]

pub fn samplings_dir(&self) -> PathBuf[src]

pub fn sampling_dir(&self, sampling_id: &str) -> PathBuf[src]

pub fn description_calibration_dir(&self, calibration_id: &str) -> PathBuf[src]

pub fn device_dir(&self) -> PathBuf[src]

Trait Implementations

impl LoadableDevice for Device[src]

impl StorableDevice for Device[src]

impl Clone for Device[src]

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]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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

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

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