pub struct ServerId {
pub server_id: Vec<u8>,
pub run_indicator_status: bool,
pub additional_data: Vec<u8>,
}Expand description
FC17 Server ID. Modbus V1.1b3 §6.17 leaves the Server ID length as
device-specific (N bytes), so multi-byte IDs are supported via
multi-byte. Mirrors njs-modbus ServerId { serverId: number | number[] }.
Fields§
§server_id: Vec<u8>Server ID bytes — typically 1 byte, but the spec allows N bytes.
run_indicator_status: bool§additional_data: Vec<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerId
impl RefUnwindSafe for ServerId
impl Send for ServerId
impl Sync for ServerId
impl Unpin for ServerId
impl UnsafeUnpin for ServerId
impl UnwindSafe for ServerId
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