pub struct IecHdlcSetupAttrs {Show 13 fields
pub logical_name: LogicalName,
pub channel: u8,
pub wait: Vec<Choice>,
pub client_address: u16,
pub server_address: u16,
pub window_size_tx: u8,
pub window_size_rx: u8,
pub max_info_tx: u16,
pub max_info_rx: u16,
pub max_timeout_tx: u16,
pub max_retries_tx: u8,
pub max_timeout_respond: u16,
pub max_retries_respond: u8,
}Expand description
IEC HDLC setup class (class_id = 23) attributes.
- attr 1: logical_name (octet-string)
- attr 2: channel (unsigned)
- attr 3: wait (array)
- attr 4: client_address (long-unsigned)
- attr 5: server_address (long-unsigned)
- attr 6: window_size_tx (unsigned)
- attr 7: window_size_rx (unsigned)
- attr 8: max_info_tx (long-unsigned)
- attr 9: max_info_rx (long-unsigned)
- attr 10: max_timeout_tx (long-unsigned)
- attr 11: max_retries_tx (long-unsigned)
- attr 12: max_timeout_respond (long-unsigned)
- attr 13: max_retries_respond (long-unsigned)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
channel: u8Communication channel (attribute 2).
wait: Vec<Choice>Wait time array (attribute 3).
client_address: u16Client HDLC address (attribute 4).
server_address: u16Server HDLC address (attribute 5).
window_size_tx: u8TX window size (attribute 6).
window_size_rx: u8RX window size (attribute 7).
max_info_tx: u16Max info field TX (attribute 8).
max_info_rx: u16Max info field RX (attribute 9).
max_timeout_tx: u16Max timeout TX in ms (attribute 10).
max_retries_tx: u8Max retries TX (attribute 11).
max_timeout_respond: u16Max timeout for respond in ms (attribute 12).
max_retries_respond: u8Max retries for respond (attribute 13).
Trait Implementations§
Source§impl Clone for IecHdlcSetupAttrs
impl Clone for IecHdlcSetupAttrs
Source§fn clone(&self) -> IecHdlcSetupAttrs
fn clone(&self) -> IecHdlcSetupAttrs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IecHdlcSetupAttrs
impl Debug for IecHdlcSetupAttrs
Source§impl<'de> Deserialize<'de> for IecHdlcSetupAttrs
impl<'de> Deserialize<'de> for IecHdlcSetupAttrs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IecHdlcSetupAttrs
impl RefUnwindSafe for IecHdlcSetupAttrs
impl Send for IecHdlcSetupAttrs
impl Sync for IecHdlcSetupAttrs
impl Unpin for IecHdlcSetupAttrs
impl UnsafeUnpin for IecHdlcSetupAttrs
impl UnwindSafe for IecHdlcSetupAttrs
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