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

pub struct Device<'a, P: AsRef<Path>> { /* fields omitted */ }

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 boards_dir(&self) -> PathBuf[src]

pub fn board_dir(&self, board_id: &str) -> PathBuf[src]

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

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

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

pub fn board_mapping_file(&self, board_id: &str) -> PathBuf[src]

pub fn board_parameter_metadata_file(&self, board_id: &str) -> PathBuf[src]

pub fn board_parameter_descriptions_file(&self, board_id: &str) -> PathBuf[src]

pub fn board_parameter_values_file(&self, board_id: &str) -> PathBuf[src]

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl<'a, P: AsRef<Path>> LoadableDevice for Device<'a, P>[src]

fn load_device_parameterset(&self) -> Result<ParameterSet>[src]

fn load_board_parameterset(&self, board_id: &str) -> Result<ParameterSet>[src]

fn load_calibration_parameterset(
    &self,
    calibration_id: &str
) -> Result<ParameterSet>
[src]

fn load_calibration_jobs(
    &self,
    calibration_id: &str
) -> Result<IndexMap<String, Job>>
[src]

fn load_calibration_jobset(
    &self,
    calibration_id: &str,
    board_id: &str,
    metadata: Metadata,
    runtime_parameters: ParameterSet
) -> Result<JobSet>
[src]

fn load_sampling_parameterset(&self, sampling_id: &str) -> Result<ParameterSet>[src]

fn load_sampling_jobs(&self, sampling_id: &str) -> Result<IndexMap<String, Job>>[src]

fn load_sampling_jobset(
    &self,
    sampling_id: &str,
    board_id: &str,
    metadata: Metadata,
    runtime_parameters: ParameterSet
) -> Result<JobSet>
[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

impl<'a, P> Send for Device<'a, P> where
    P: Sync

impl<'a, P> Unpin for Device<'a, P>

impl<'a, P> RefUnwindSafe for Device<'a, P> where
    P: RefUnwindSafe

impl<'a, P> UnwindSafe for Device<'a, P> where
    P: RefUnwindSafe

Blanket Implementations

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