pub struct ModbusCtx<'a, H, I, C, D> {
pub holdings: &'a mut H,
pub inputs: &'a mut I,
pub coils: &'a mut C,
pub ists: &'a mut D,
}Expand description
ModbusCtx,用于沟通上下文
Fields§
§holdings: &'a mut H§inputs: &'a mut I§coils: &'a mut C§ists: &'a mut DImplementations§
Auto Trait Implementations§
impl<'a, H, I, C, D> Freeze for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> RefUnwindSafe for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> Send for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> Sync for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> Unpin for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> UnsafeUnpin for ModbusCtx<'a, H, I, C, D>
impl<'a, H, I, C, D> !UnwindSafe for ModbusCtx<'a, H, I, C, D>
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