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

pub struct Device<P: AsRef<Path>> {
    pub system_path: P,
    pub config_path: P,
    pub data_path: P,
    pub product_id: String,
}

Fields

system_path: Pconfig_path: Pdata_path: Pproduct_id: String

Methods

impl<P: AsRef<Path>> Device<P>[src]

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

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

pub fn data_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<'a, P: 'a + AsRef<Path>> LoadableDevice<'a> for Device<P>[src]

impl<P: AsRef<Path> + Clone> Clone for Device<P>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<P: Debug + AsRef<Path>> Debug for Device<P>[src]

Auto Trait Implementations

impl<P> Sync for Device<P> where
    P: Sync

impl<P> Send for Device<P> where
    P: Send

impl<P> Unpin for Device<P> where
    P: Unpin

impl<P> RefUnwindSafe for Device<P> where
    P: RefUnwindSafe

impl<P> UnwindSafe for Device<P> where
    P: UnwindSafe

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Erased for T

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

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