#[repr(C)]pub struct sIMasterConnection {
pub isReady: Option<unsafe extern "C" fn(self_: IMasterConnection) -> bool>,
pub sendASDU: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU) -> bool>,
pub sendACT_CON: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU, negative: bool) -> bool>,
pub sendACT_TERM: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU) -> bool>,
pub close: Option<unsafe extern "C" fn(self_: IMasterConnection)>,
pub getPeerAddress: Option<unsafe extern "C" fn(self_: IMasterConnection, addrBuf: *mut c_char, addrBufSize: c_int) -> c_int>,
pub getApplicationLayerParameters: Option<unsafe extern "C" fn(self_: IMasterConnection) -> CS101_AppLayerParameters>,
pub object: *mut c_void,
}Fields§
§isReady: Option<unsafe extern "C" fn(self_: IMasterConnection) -> bool>§sendASDU: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU) -> bool>§sendACT_CON: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU, negative: bool) -> bool>§sendACT_TERM: Option<unsafe extern "C" fn(self_: IMasterConnection, asdu: CS101_ASDU) -> bool>§close: Option<unsafe extern "C" fn(self_: IMasterConnection)>§getPeerAddress: Option<unsafe extern "C" fn(self_: IMasterConnection, addrBuf: *mut c_char, addrBufSize: c_int) -> c_int>§getApplicationLayerParameters: Option<unsafe extern "C" fn(self_: IMasterConnection) -> CS101_AppLayerParameters>§object: *mut c_voidTrait Implementations§
Source§impl Clone for sIMasterConnection
impl Clone for sIMasterConnection
Source§fn clone(&self) -> sIMasterConnection
fn clone(&self) -> sIMasterConnection
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 sIMasterConnection
impl Debug for sIMasterConnection
Source§impl Default for sIMasterConnection
impl Default for sIMasterConnection
Source§impl Hash for sIMasterConnection
impl Hash for sIMasterConnection
Source§impl PartialEq for sIMasterConnection
impl PartialEq for sIMasterConnection
impl Copy for sIMasterConnection
impl Eq for sIMasterConnection
impl StructuralPartialEq for sIMasterConnection
Auto Trait Implementations§
impl Freeze for sIMasterConnection
impl RefUnwindSafe for sIMasterConnection
impl !Send for sIMasterConnection
impl !Sync for sIMasterConnection
impl Unpin for sIMasterConnection
impl UnwindSafe for sIMasterConnection
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