pub struct S7Client { /* private fields */ }Implementations§
Source§impl S7Client
impl S7Client
pub async fn connect(options: Options) -> Result<Self>
pub async fn write_db_bytes( &mut self, db_number: u16, byte_addr: u16, data: &[u8], ) -> Result<Vec<DataItemWriteResponse>>
pub async fn write_db_bit( &mut self, db_number: u16, byte_addr: u16, bit_addr: u8, data: bool, ) -> Result<Vec<DataItemWriteResponse>>
pub async fn read(&mut self, areas: Vec<Area>) -> Result<Vec<DataItemVal>>
Auto Trait Implementations§
impl !Freeze for S7Client
impl RefUnwindSafe for S7Client
impl Send for S7Client
impl Sync for S7Client
impl Unpin for S7Client
impl UnsafeUnpin for S7Client
impl UnwindSafe for S7Client
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