UA_ServerConfig

Struct UA_ServerConfig 

Source
#[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_UInt32

Trait Implementations§

Source§

impl Clone for UA_ServerConfig

Source§

fn clone(&self) -> UA_ServerConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UA_ServerConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for UA_ServerConfig

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.