[−][src]Trait mbus_api::Api
API
Required methods
fn get(
&self,
device: String,
baudrate: Baudrate,
address: i32,
context: &C
) -> Box<dyn Future<Item = GetResponse, Error = ApiError> + Send>
&self,
device: String,
baudrate: Baudrate,
address: i32,
context: &C
) -> Box<dyn Future<Item = GetResponse, Error = ApiError> + Send>
fn get_multi(
&self,
device: String,
baudrate: Baudrate,
address: i32,
maxframes: i32,
context: &C
) -> Box<dyn Future<Item = GetMultiResponse, Error = ApiError> + Send>
&self,
device: String,
baudrate: Baudrate,
address: i32,
maxframes: i32,
context: &C
) -> Box<dyn Future<Item = GetMultiResponse, Error = ApiError> + Send>
fn hat(
&self,
context: &C
) -> Box<dyn Future<Item = HatResponse, Error = ApiError> + Send>
&self,
context: &C
) -> Box<dyn Future<Item = HatResponse, Error = ApiError> + Send>
fn hat_off(
&self,
context: &C
) -> Box<dyn Future<Item = HatOffResponse, Error = ApiError> + Send>
&self,
context: &C
) -> Box<dyn Future<Item = HatOffResponse, Error = ApiError> + Send>
fn hat_on(
&self,
context: &C
) -> Box<dyn Future<Item = HatOnResponse, Error = ApiError> + Send>
&self,
context: &C
) -> Box<dyn Future<Item = HatOnResponse, Error = ApiError> + Send>
fn mbus_api(
&self,
context: &C
) -> Box<dyn Future<Item = MbusApiResponse, Error = ApiError> + Send>
&self,
context: &C
) -> Box<dyn Future<Item = MbusApiResponse, Error = ApiError> + Send>
fn scan(
&self,
device: String,
baudrate: Baudrate,
context: &C
) -> Box<dyn Future<Item = ScanResponse, Error = ApiError> + Send>
&self,
device: String,
baudrate: Baudrate,
context: &C
) -> Box<dyn Future<Item = ScanResponse, Error = ApiError> + Send>
Implementors
impl<C, F> Api<C> for Client<F> where
C: Has<XSpanIdString>,
F: Future<Item = Response<Body>, Error = Error> + Send + 'static,
[src]
C: Has<XSpanIdString>,
F: Future<Item = Response<Body>, Error = Error> + Send + 'static,
fn get(
&self,
param_device: String,
param_baudrate: Baudrate,
param_address: i32,
context: &C
) -> Box<dyn Future<Item = GetResponse, Error = ApiError> + Send>
[src]
&self,
param_device: String,
param_baudrate: Baudrate,
param_address: i32,
context: &C
) -> Box<dyn Future<Item = GetResponse, Error = ApiError> + Send>
fn get_multi(
&self,
param_device: String,
param_baudrate: Baudrate,
param_address: i32,
param_maxframes: i32,
context: &C
) -> Box<dyn Future<Item = GetMultiResponse, Error = ApiError> + Send>
[src]
&self,
param_device: String,
param_baudrate: Baudrate,
param_address: i32,
param_maxframes: i32,
context: &C
) -> Box<dyn Future<Item = GetMultiResponse, Error = ApiError> + Send>
fn hat(
&self,
context: &C
) -> Box<dyn Future<Item = HatResponse, Error = ApiError> + Send>
[src]
&self,
context: &C
) -> Box<dyn Future<Item = HatResponse, Error = ApiError> + Send>
fn hat_off(
&self,
context: &C
) -> Box<dyn Future<Item = HatOffResponse, Error = ApiError> + Send>
[src]
&self,
context: &C
) -> Box<dyn Future<Item = HatOffResponse, Error = ApiError> + Send>
fn hat_on(
&self,
context: &C
) -> Box<dyn Future<Item = HatOnResponse, Error = ApiError> + Send>
[src]
&self,
context: &C
) -> Box<dyn Future<Item = HatOnResponse, Error = ApiError> + Send>
fn mbus_api(
&self,
context: &C
) -> Box<dyn Future<Item = MbusApiResponse, Error = ApiError> + Send>
[src]
&self,
context: &C
) -> Box<dyn Future<Item = MbusApiResponse, Error = ApiError> + Send>
fn scan(
&self,
param_device: String,
param_baudrate: Baudrate,
context: &C
) -> Box<dyn Future<Item = ScanResponse, Error = ApiError> + Send>
[src]
&self,
param_device: String,
param_baudrate: Baudrate,
context: &C
) -> Box<dyn Future<Item = ScanResponse, Error = ApiError> + Send>