[−][src]Struct lrl_test_compiler::test_descriptor::concrete_test::ConcreteTest
Struct containing the contents of the environment and the ast test
Fields
environment: Environment
test: Test
Implementations
impl ConcreteTest
[src]
pub fn try_new(environment: Environment, test: Test) -> CompilerResult<Self>
[src]
Construct concrete test representation from environment and ast test struct
pub fn get_sensor_device_address(
&self,
sensor_id: &str
) -> CompilerResult<DeviceAddress>
[src]
&self,
sensor_id: &str
) -> CompilerResult<DeviceAddress>
Convert sensor id used in TDF file to virtual address
pub fn get_relay_device_address(
&self,
relay_id: &str
) -> CompilerResult<DeviceAddress>
[src]
&self,
relay_id: &str
) -> CompilerResult<DeviceAddress>
Convert relay id used in TDF file to virtual address
pub fn get_abort_id(&self, abort_name: &str) -> CompilerResult<u32>
[src]
Convert abort name used in TDF file to abort index
pub fn get_calibration(
&self,
sensor_id: &str
) -> CompilerResult<Option<&Calibration>>
[src]
&self,
sensor_id: &str
) -> CompilerResult<Option<&Calibration>>
Get calibration for provided sensor id
Auto Trait Implementations
impl RefUnwindSafe for ConcreteTest
impl Send for ConcreteTest
impl Sync for ConcreteTest
impl Unpin for ConcreteTest
impl UnwindSafe for ConcreteTest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,