Struct open62541_sys::UA_ServerNetworkLayer
source · #[repr(C)]pub struct UA_ServerNetworkLayer {
pub handle: *mut c_void,
pub statistics: *mut UA_NetworkStatistics,
pub discoveryUrl: UA_String,
pub localConnectionConfig: UA_ConnectionConfig,
pub start: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, logger: *const UA_Logger, customHostname: *const UA_String) -> UA_StatusCode>,
pub listen: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, server: *mut UA_Server, timeout: UA_UInt16) -> UA_StatusCode>,
pub stop: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, server: *mut UA_Server)>,
pub clear: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer)>,
}Fields§
§handle: *mut c_void§statistics: *mut UA_NetworkStatistics§discoveryUrl: UA_String§localConnectionConfig: UA_ConnectionConfig§start: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, logger: *const UA_Logger, customHostname: *const UA_String) -> UA_StatusCode>§listen: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, server: *mut UA_Server, timeout: UA_UInt16) -> UA_StatusCode>§stop: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer, server: *mut UA_Server)>§clear: Option<unsafe extern "C" fn(nl: *mut UA_ServerNetworkLayer)>Trait Implementations§
source§impl Debug for UA_ServerNetworkLayer
impl Debug for UA_ServerNetworkLayer
Auto Trait Implementations§
impl RefUnwindSafe for UA_ServerNetworkLayer
impl !Send for UA_ServerNetworkLayer
impl !Sync for UA_ServerNetworkLayer
impl Unpin for UA_ServerNetworkLayer
impl UnwindSafe for UA_ServerNetworkLayer
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