#[repr(C)]
pub struct UA_ClientConfig {
Show 26 fields pub clientContext: *mut c_void, pub logger: UA_Logger, pub timeout: UA_UInt32, pub clientDescription: UA_ApplicationDescription, pub userIdentityToken: UA_ExtensionObject, pub securityMode: UA_MessageSecurityMode, pub securityPolicyUri: UA_String, pub endpoint: UA_EndpointDescription, pub userTokenPolicy: UA_UserTokenPolicy, pub applicationUri: UA_String, pub customDataTypes: *const UA_DataTypeArray, pub secureChannelLifeTime: UA_UInt32, pub requestedSessionTimeout: UA_UInt32, pub localConnectionConfig: UA_ConnectionConfig, pub connectivityCheckInterval: UA_UInt32, pub securityPoliciesSize: usize, pub securityPolicies: *mut UA_SecurityPolicy, pub certificateVerification: UA_CertificateVerification, pub initConnectionFunc: UA_ConnectClientConnection, pub pollConnectionFunc: Option<unsafe extern "C" fn(connection: *mut UA_Connection, timeout: UA_UInt32, logger: *const UA_Logger) -> UA_StatusCode>, 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 outStandingPublishRequests: UA_UInt16, pub subscriptionInactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, subscriptionId: UA_UInt32, subContext: *mut c_void)>, pub sessionLocaleIds: *mut UA_LocaleId, pub sessionLocaleIdsSize: usize,
}

Fields§

§clientContext: *mut c_void§logger: UA_Logger§timeout: UA_UInt32§clientDescription: UA_ApplicationDescription§userIdentityToken: UA_ExtensionObject§securityMode: UA_MessageSecurityMode§securityPolicyUri: UA_String§endpoint: UA_EndpointDescription§userTokenPolicy: UA_UserTokenPolicy§applicationUri: UA_String§customDataTypes: *const UA_DataTypeArray§secureChannelLifeTime: UA_UInt32§requestedSessionTimeout: UA_UInt32§localConnectionConfig: UA_ConnectionConfig§connectivityCheckInterval: UA_UInt32§securityPoliciesSize: usize§securityPolicies: *mut UA_SecurityPolicy§certificateVerification: UA_CertificateVerification§initConnectionFunc: UA_ConnectClientConnection§pollConnectionFunc: Option<unsafe extern "C" fn(connection: *mut UA_Connection, timeout: UA_UInt32, logger: *const UA_Logger) -> UA_StatusCode>§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)>§outStandingPublishRequests: UA_UInt16§subscriptionInactivityCallback: Option<unsafe extern "C" fn(client: *mut UA_Client, subscriptionId: UA_UInt32, subContext: *mut c_void)>§sessionLocaleIds: *mut UA_LocaleId§sessionLocaleIdsSize: usize

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

§

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

§

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.