#[repr(C)]pub struct sCS101_AppLayerParameters {
pub sizeOfTypeId: c_int,
pub sizeOfVSQ: c_int,
pub sizeOfCOT: c_int,
pub originatorAddress: c_int,
pub sizeOfCA: c_int,
pub sizeOfIOA: c_int,
pub maxSizeOfASDU: c_int,
}Fields§
§sizeOfTypeId: c_intsize of the type id (default = 1 - don’t change)
sizeOfVSQ: c_intdon’t change
sizeOfCOT: c_intsize of COT (1/2 - default = 2 -> COT includes OA)
originatorAddress: c_intoriginator address (OA) to use (0-255)
sizeOfCA: c_intsize of common address (CA) of ASDU (1/2 - default = 2)
sizeOfIOA: c_intsize of information object address (IOA) (1/2/3 - default = 3)
maxSizeOfASDU: c_intmaximum size of the ASDU that is generated - the maximum maximum value is 249 for IEC 104 and 254 for IEC 101
Trait Implementations§
Source§impl Clone for sCS101_AppLayerParameters
impl Clone for sCS101_AppLayerParameters
Source§fn clone(&self) -> sCS101_AppLayerParameters
fn clone(&self) -> sCS101_AppLayerParameters
Returns a duplicate 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 sCS101_AppLayerParameters
impl Debug for sCS101_AppLayerParameters
Source§impl Default for sCS101_AppLayerParameters
impl Default for sCS101_AppLayerParameters
Source§fn default() -> sCS101_AppLayerParameters
fn default() -> sCS101_AppLayerParameters
Returns the “default value” for a type. Read more
Source§impl Hash for sCS101_AppLayerParameters
impl Hash for sCS101_AppLayerParameters
impl Copy for sCS101_AppLayerParameters
impl Eq for sCS101_AppLayerParameters
impl StructuralPartialEq for sCS101_AppLayerParameters
Auto Trait Implementations§
impl Freeze for sCS101_AppLayerParameters
impl RefUnwindSafe for sCS101_AppLayerParameters
impl Send for sCS101_AppLayerParameters
impl Sync for sCS101_AppLayerParameters
impl Unpin for sCS101_AppLayerParameters
impl UnwindSafe for sCS101_AppLayerParameters
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