Skip to main content

UA_ClientConfig

Struct UA_ClientConfig 

Source
#[repr(C)]
pub struct UA_ClientConfig {
Show 41 fields pub clientContext: *mut c_void, pub logging: *mut UA_Logger, pub timeout: UA_UInt32, pub clientDescription: UA_ApplicationDescription, pub endpointUrl: UA_String, pub userIdentityToken: UA_ExtensionObject, pub sessionName: UA_String, pub sessionLocaleIds: *mut UA_LocaleId, pub sessionLocaleIdsSize: usize, pub noSession: UA_Boolean, pub noReconnect: UA_Boolean, pub noNewSession: UA_Boolean, pub secureChannelLifeTime: UA_UInt32, pub requestedSessionTimeout: UA_UInt32, pub localConnectionConfig: UA_ConnectionConfig, pub connectivityCheckInterval: UA_UInt32, pub tcpReuseAddr: UA_Boolean, pub endpoint: UA_EndpointDescription, pub userTokenPolicy: UA_UserTokenPolicy, pub applicationUri: UA_String, pub securityMode: UA_MessageSecurityMode, pub securityPolicyUri: UA_String, pub authSecurityPolicyUri: UA_String, pub securityPoliciesSize: usize, pub securityPolicies: *mut UA_SecurityPolicy, pub certificateVerification: UA_CertificateGroup, pub authSecurityPoliciesSize: usize, pub authSecurityPolicies: *mut UA_SecurityPolicy, pub allowNonePolicyPassword: UA_Boolean, pub customDataTypes: *mut UA_DataTypeArray, pub namespaces: *mut UA_String, pub namespacesSize: usize, pub globalNotificationCallback: UA_ClientNotificationCallback, pub lifecycleNotificationCallback: UA_ClientNotificationCallback, pub serviceNotificationCallback: UA_ClientNotificationCallback, pub stateCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, channelState: UA_SecureChannelState, sessionState: UA_SessionState, connectStatus: UA_StatusCode)>, pub inactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client)>, pub subscriptionInactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, subscriptionId: UA_UInt32, subContext: *mut c_void)>, pub outStandingPublishRequests: UA_UInt16, pub eventLoop: *mut UA_EventLoop, pub externalEventLoop: UA_Boolean,
}

Fields§

§clientContext: *mut c_void§logging: *mut UA_Logger§timeout: UA_UInt32§clientDescription: UA_ApplicationDescription§endpointUrl: UA_String§userIdentityToken: UA_ExtensionObject§sessionName: UA_String§sessionLocaleIds: *mut UA_LocaleId§sessionLocaleIdsSize: usize§noSession: UA_Boolean§noReconnect: UA_Boolean§noNewSession: UA_Boolean§secureChannelLifeTime: UA_UInt32§requestedSessionTimeout: UA_UInt32§localConnectionConfig: UA_ConnectionConfig§connectivityCheckInterval: UA_UInt32§tcpReuseAddr: UA_Boolean§endpoint: UA_EndpointDescription§userTokenPolicy: UA_UserTokenPolicy§applicationUri: UA_String§securityMode: UA_MessageSecurityMode§securityPolicyUri: UA_String§authSecurityPolicyUri: UA_String§securityPoliciesSize: usize§securityPolicies: *mut UA_SecurityPolicy§certificateVerification: UA_CertificateGroup§authSecurityPoliciesSize: usize§authSecurityPolicies: *mut UA_SecurityPolicy§allowNonePolicyPassword: UA_Boolean§customDataTypes: *mut UA_DataTypeArray§namespaces: *mut UA_String§namespacesSize: usize§globalNotificationCallback: UA_ClientNotificationCallback§lifecycleNotificationCallback: UA_ClientNotificationCallback§serviceNotificationCallback: UA_ClientNotificationCallback§stateCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, channelState: UA_SecureChannelState, sessionState: UA_SessionState, connectStatus: UA_StatusCode)>§inactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client)>§subscriptionInactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, subscriptionId: UA_UInt32, subContext: *mut c_void)>§outStandingPublishRequests: UA_UInt16§eventLoop: *mut UA_EventLoop§externalEventLoop: UA_Boolean

Trait Implementations§

Source§

impl Default for UA_ClientConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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> 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, 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.