[][src]Struct truebner_smt100::mock::Proxy

pub struct Proxy { /* fields omitted */ }

Methods

impl Proxy[src]

pub fn default_temperature() -> Temperature[src]

pub fn default_water_content() -> VolumetricWaterContent[src]

pub fn default_permittivity() -> RelativePermittivity[src]

pub const fn default_raw_counts() -> usize[src]

pub fn read_temperature(
    &self,
    timeout: Duration
) -> impl Future<Item = Temperature, Error = Error>
[src]

Implementation of Capabilities::read_temperature()

pub fn read_water_content(
    &self,
    timeout: Duration
) -> impl Future<Item = VolumetricWaterContent, Error = Error>
[src]

Implementation of Capabilities::read_water_content()

pub fn read_permittivity(
    &self,
    timeout: Duration
) -> impl Future<Item = RelativePermittivity, Error = Error>
[src]

Implementation of Capabilities::read_permittivity()

pub fn read_raw_counts(
    &self,
    timeout: Duration
) -> impl Future<Item = usize, Error = Error>
[src]

Implementation of Capabilities::read_raw_counts()

Trait Implementations

impl Driver for Proxy[src]

impl Capabilities for Proxy[src]

impl Default for Proxy[src]

Auto Trait Implementations

impl Send for Proxy

impl !Sync for Proxy

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T