#[repr(C)]pub struct UA_SecurityPolicyChannelModule {
pub newContext: Option<unsafe extern "C" fn(securityPolicy: *const UA_SecurityPolicy, remoteCertificate: *const UA_ByteString, channelContext: *mut *mut c_void) -> UA_StatusCode>,
pub deleteContext: Option<unsafe extern "C" fn(channelContext: *mut c_void)>,
pub setLocalSymEncryptingKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>,
pub setLocalSymSigningKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>,
pub setLocalSymIv: Option<unsafe extern "C" fn(channelContext: *mut c_void, iv: *const UA_ByteString) -> UA_StatusCode>,
pub setRemoteSymEncryptingKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>,
pub setRemoteSymSigningKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>,
pub setRemoteSymIv: Option<unsafe extern "C" fn(channelContext: *mut c_void, iv: *const UA_ByteString) -> UA_StatusCode>,
pub compareCertificate: Option<unsafe extern "C" fn(channelContext: *const c_void, certificate: *const UA_ByteString) -> UA_StatusCode>,
}Fields§
§newContext: Option<unsafe extern "C" fn(securityPolicy: *const UA_SecurityPolicy, remoteCertificate: *const UA_ByteString, channelContext: *mut *mut c_void) -> UA_StatusCode>§deleteContext: Option<unsafe extern "C" fn(channelContext: *mut c_void)>§setLocalSymEncryptingKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>§setLocalSymSigningKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>§setLocalSymIv: Option<unsafe extern "C" fn(channelContext: *mut c_void, iv: *const UA_ByteString) -> UA_StatusCode>§setRemoteSymEncryptingKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>§setRemoteSymSigningKey: Option<unsafe extern "C" fn(channelContext: *mut c_void, key: *const UA_ByteString) -> UA_StatusCode>§setRemoteSymIv: Option<unsafe extern "C" fn(channelContext: *mut c_void, iv: *const UA_ByteString) -> UA_StatusCode>§compareCertificate: Option<unsafe extern "C" fn(channelContext: *const c_void, certificate: *const UA_ByteString) -> UA_StatusCode>Trait Implementations§
Source§impl Clone for UA_SecurityPolicyChannelModule
impl Clone for UA_SecurityPolicyChannelModule
Source§fn clone(&self) -> UA_SecurityPolicyChannelModule
fn clone(&self) -> UA_SecurityPolicyChannelModule
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 moreimpl Copy for UA_SecurityPolicyChannelModule
Auto Trait Implementations§
impl Freeze for UA_SecurityPolicyChannelModule
impl RefUnwindSafe for UA_SecurityPolicyChannelModule
impl Send for UA_SecurityPolicyChannelModule
impl Sync for UA_SecurityPolicyChannelModule
impl Unpin for UA_SecurityPolicyChannelModule
impl UnwindSafe for UA_SecurityPolicyChannelModule
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