#[repr(C)]pub struct UA_ServerConfig {Show 80 fields
pub logging: *const UA_Logger,
pub context: *mut c_void,
pub buildInfo: UA_BuildInfo,
pub applicationDescription: UA_ApplicationDescription,
pub shutdownDelay: UA_Double,
pub notifyLifecycleState: Option<unsafe extern "C" fn(server: *mut UA_Server, state: UA_LifecycleState)>,
pub verifyRequestTimestamp: UA_RuleHandling,
pub allowEmptyVariables: UA_RuleHandling,
pub customDataTypes: *const UA_DataTypeArray,
pub eventLoop: *mut UA_EventLoop,
pub externalEventLoop: UA_Boolean,
pub serverUrls: *mut UA_String,
pub serverUrlsSize: usize,
pub tcpEnabled: UA_Boolean,
pub tcpBufSize: UA_UInt32,
pub tcpMaxMsgSize: UA_UInt32,
pub tcpMaxChunks: UA_UInt32,
pub securityPoliciesSize: usize,
pub securityPolicies: *mut UA_SecurityPolicy,
pub endpointsSize: usize,
pub endpoints: *mut UA_EndpointDescription,
pub securityPolicyNoneDiscoveryOnly: UA_Boolean,
pub allowNonePolicyPassword: UA_Boolean,
pub secureChannelPKI: UA_CertificateVerification,
pub sessionPKI: UA_CertificateVerification,
pub accessControl: UA_AccessControl,
pub nodestore: UA_Nodestore,
pub nodeLifecycle: UA_GlobalNodeLifecycle,
pub modellingRulesOnInstances: UA_Boolean,
pub maxSecureChannels: UA_UInt16,
pub maxSecurityTokenLifetime: UA_UInt32,
pub maxSessions: UA_UInt16,
pub maxSessionTimeout: UA_Double,
pub maxNodesPerRead: UA_UInt32,
pub maxNodesPerWrite: UA_UInt32,
pub maxNodesPerMethodCall: UA_UInt32,
pub maxNodesPerBrowse: UA_UInt32,
pub maxNodesPerRegisterNodes: UA_UInt32,
pub maxNodesPerTranslateBrowsePathsToNodeIds: UA_UInt32,
pub maxNodesPerNodeManagement: UA_UInt32,
pub maxMonitoredItemsPerCall: UA_UInt32,
pub maxReferencesPerNode: UA_UInt32,
pub asyncOperationTimeout: UA_Double,
pub maxAsyncOperationQueueSize: usize,
pub asyncOperationNotifyCallback: UA_Server_AsyncOperationNotifyCallback,
pub discoveryCleanupTimeout: UA_UInt32,
pub subscriptionsEnabled: UA_Boolean,
pub maxSubscriptions: UA_UInt32,
pub maxSubscriptionsPerSession: UA_UInt32,
pub publishingIntervalLimits: UA_DurationRange,
pub lifeTimeCountLimits: UA_UInt32Range,
pub keepAliveCountLimits: UA_UInt32Range,
pub maxNotificationsPerPublish: UA_UInt32,
pub enableRetransmissionQueue: UA_Boolean,
pub maxRetransmissionQueueSize: UA_UInt32,
pub maxEventsPerNode: UA_UInt32,
pub maxMonitoredItems: UA_UInt32,
pub maxMonitoredItemsPerSubscription: UA_UInt32,
pub samplingIntervalLimits: UA_DurationRange,
pub queueSizeLimits: UA_UInt32Range,
pub maxPublishReqPerSession: UA_UInt32,
pub monitoredItemRegisterCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, sessionId: *const UA_NodeId, sessionContext: *mut c_void, nodeId: *const UA_NodeId, nodeContext: *mut c_void, attibuteId: UA_UInt32, removed: UA_Boolean)>,
pub pubsubEnabled: UA_Boolean,
pub historizingEnabled: UA_Boolean,
pub historyDatabase: UA_HistoryDatabase,
pub accessHistoryDataCapability: UA_Boolean,
pub maxReturnDataValues: UA_UInt32,
pub accessHistoryEventsCapability: UA_Boolean,
pub maxReturnEventValues: UA_UInt32,
pub insertDataCapability: UA_Boolean,
pub insertEventCapability: UA_Boolean,
pub insertAnnotationsCapability: UA_Boolean,
pub replaceDataCapability: UA_Boolean,
pub replaceEventCapability: UA_Boolean,
pub updateDataCapability: UA_Boolean,
pub updateEventCapability: UA_Boolean,
pub deleteRawCapability: UA_Boolean,
pub deleteEventCapability: UA_Boolean,
pub deleteAtTimeDataCapability: UA_Boolean,
pub reverseReconnectInterval: UA_UInt32,
}Fields§
§logging: *const UA_Logger§context: *mut c_void§buildInfo: UA_BuildInfo§applicationDescription: UA_ApplicationDescription§shutdownDelay: UA_Double§notifyLifecycleState: Option<unsafe extern "C" fn(server: *mut UA_Server, state: UA_LifecycleState)>§verifyRequestTimestamp: UA_RuleHandling§allowEmptyVariables: UA_RuleHandling§customDataTypes: *const UA_DataTypeArray§eventLoop: *mut UA_EventLoop§externalEventLoop: UA_Boolean§serverUrls: *mut UA_String§serverUrlsSize: usize§tcpEnabled: UA_Boolean§tcpBufSize: UA_UInt32§tcpMaxMsgSize: UA_UInt32§tcpMaxChunks: UA_UInt32§securityPoliciesSize: usize§securityPolicies: *mut UA_SecurityPolicy§endpointsSize: usize§endpoints: *mut UA_EndpointDescription§securityPolicyNoneDiscoveryOnly: UA_Boolean§allowNonePolicyPassword: UA_Boolean§secureChannelPKI: UA_CertificateVerification§sessionPKI: UA_CertificateVerification§accessControl: UA_AccessControl§nodestore: UA_Nodestore§nodeLifecycle: UA_GlobalNodeLifecycle§modellingRulesOnInstances: UA_Boolean§maxSecureChannels: UA_UInt16§maxSecurityTokenLifetime: UA_UInt32§maxSessions: UA_UInt16§maxSessionTimeout: UA_Double§maxNodesPerRead: UA_UInt32§maxNodesPerWrite: UA_UInt32§maxNodesPerMethodCall: UA_UInt32§maxNodesPerBrowse: UA_UInt32§maxNodesPerRegisterNodes: UA_UInt32§maxNodesPerTranslateBrowsePathsToNodeIds: UA_UInt32§maxNodesPerNodeManagement: UA_UInt32§maxMonitoredItemsPerCall: UA_UInt32§maxReferencesPerNode: UA_UInt32§asyncOperationTimeout: UA_Double§maxAsyncOperationQueueSize: usize§asyncOperationNotifyCallback: UA_Server_AsyncOperationNotifyCallback§discoveryCleanupTimeout: UA_UInt32§subscriptionsEnabled: UA_Boolean§maxSubscriptions: UA_UInt32§maxSubscriptionsPerSession: UA_UInt32§publishingIntervalLimits: UA_DurationRange§lifeTimeCountLimits: UA_UInt32Range§keepAliveCountLimits: UA_UInt32Range§maxNotificationsPerPublish: UA_UInt32§enableRetransmissionQueue: UA_Boolean§maxRetransmissionQueueSize: UA_UInt32§maxEventsPerNode: UA_UInt32§maxMonitoredItems: UA_UInt32§maxMonitoredItemsPerSubscription: UA_UInt32§samplingIntervalLimits: UA_DurationRange§queueSizeLimits: UA_UInt32Range§maxPublishReqPerSession: UA_UInt32§monitoredItemRegisterCallback: Option<unsafe extern "C" fn(server: *mut UA_Server, sessionId: *const UA_NodeId, sessionContext: *mut c_void, nodeId: *const UA_NodeId, nodeContext: *mut c_void, attibuteId: UA_UInt32, removed: UA_Boolean)>§pubsubEnabled: UA_Boolean§historizingEnabled: UA_Boolean§historyDatabase: UA_HistoryDatabase§accessHistoryDataCapability: UA_Boolean§maxReturnDataValues: UA_UInt32§accessHistoryEventsCapability: UA_Boolean§maxReturnEventValues: UA_UInt32§insertDataCapability: UA_Boolean§insertEventCapability: UA_Boolean§insertAnnotationsCapability: UA_Boolean§replaceDataCapability: UA_Boolean§replaceEventCapability: UA_Boolean§updateDataCapability: UA_Boolean§updateEventCapability: UA_Boolean§deleteRawCapability: UA_Boolean§deleteEventCapability: UA_Boolean§deleteAtTimeDataCapability: UA_Boolean§reverseReconnectInterval: UA_UInt32Trait Implementations§
Source§impl Clone for UA_ServerConfig
impl Clone for UA_ServerConfig
Source§fn clone(&self) -> UA_ServerConfig
fn clone(&self) -> UA_ServerConfig
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 UA_ServerConfig
impl Debug for UA_ServerConfig
impl Copy for UA_ServerConfig
Auto Trait Implementations§
impl Freeze for UA_ServerConfig
impl RefUnwindSafe for UA_ServerConfig
impl !Send for UA_ServerConfig
impl !Sync for UA_ServerConfig
impl Unpin for UA_ServerConfig
impl UnwindSafe for UA_ServerConfig
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