Struct UA_ClientConfig

Source
#[repr(C)]
pub struct UA_ClientConfig {
Show 34 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 securityMode: UA_MessageSecurityMode, pub securityPolicyUri: UA_String, pub noSession: UA_Boolean, pub noReconnect: UA_Boolean, pub noNewSession: UA_Boolean, 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 eventLoop: *mut UA_EventLoop, pub externalEventLoop: UA_Boolean, pub securityPoliciesSize: usize, pub securityPolicies: *mut UA_SecurityPolicy, pub certificateVerification: UA_CertificateVerification, pub authSecurityPoliciesSize: usize, pub authSecurityPolicies: *mut UA_SecurityPolicy, pub authSecurityPolicyUri: UA_String, 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 sessionName: UA_String, pub sessionLocaleIds: *mut UA_LocaleId, pub sessionLocaleIdsSize: usize,
}

Fields§

§clientContext: *mut c_void§logging: *mut UA_Logger§timeout: UA_UInt32§clientDescription: UA_ApplicationDescription§endpointUrl: UA_String§userIdentityToken: UA_ExtensionObject§securityMode: UA_MessageSecurityMode§securityPolicyUri: UA_String§noSession: UA_Boolean§noReconnect: UA_Boolean§noNewSession: UA_Boolean§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§eventLoop: *mut UA_EventLoop§externalEventLoop: UA_Boolean§securityPoliciesSize: usize§securityPolicies: *mut UA_SecurityPolicy§certificateVerification: UA_CertificateVerification§authSecurityPoliciesSize: usize§authSecurityPolicies: *mut UA_SecurityPolicy§authSecurityPolicyUri: UA_String§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)>§sessionName: UA_String§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>,

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.