pub struct ModbusDriver {}
Implementations§
Source§impl ModbusDriver
impl ModbusDriver
Trait Implementations§
Source§impl Clone for ModbusDriver
impl Clone for ModbusDriver
Source§fn clone(&self) -> ModbusDriver
fn clone(&self) -> ModbusDriver
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModbusDriver
impl Debug for ModbusDriver
Source§impl NGDriver for ModbusDriver
impl NGDriver for ModbusDriver
fn initialize<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_command<'life0, 'life1, 'async_trait>(
&'life0 self,
device_id: i32,
command: &'life1 str,
params: Box<dyn Any + Send>,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any + Send>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn converter(&self) -> Box<dyn NGConverter>
fn name(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for ModbusDriver
impl RefUnwindSafe for ModbusDriver
impl Send for ModbusDriver
impl Sync for ModbusDriver
impl Unpin for ModbusDriver
impl UnwindSafe for ModbusDriver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more