#[repr(C)]pub struct UA_SecurityPolicyEncryptionAlgorithm {
pub uri: UA_String,
pub encrypt: Option<unsafe extern "C" fn(channelContext: *mut c_void, data: *mut UA_ByteString) -> UA_StatusCode>,
pub decrypt: Option<unsafe extern "C" fn(channelContext: *mut c_void, data: *mut UA_ByteString) -> UA_StatusCode>,
pub getLocalKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getRemoteKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getRemoteBlockSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
pub getRemotePlainTextBlockSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>,
}Fields§
§uri: UA_String§encrypt: Option<unsafe extern "C" fn(channelContext: *mut c_void, data: *mut UA_ByteString) -> UA_StatusCode>§decrypt: Option<unsafe extern "C" fn(channelContext: *mut c_void, data: *mut UA_ByteString) -> UA_StatusCode>§getLocalKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getRemoteKeyLength: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getRemoteBlockSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>§getRemotePlainTextBlockSize: Option<unsafe extern "C" fn(channelContext: *const c_void) -> usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UA_SecurityPolicyEncryptionAlgorithm
impl RefUnwindSafe for UA_SecurityPolicyEncryptionAlgorithm
impl !Send for UA_SecurityPolicyEncryptionAlgorithm
impl !Sync for UA_SecurityPolicyEncryptionAlgorithm
impl Unpin for UA_SecurityPolicyEncryptionAlgorithm
impl UnwindSafe for UA_SecurityPolicyEncryptionAlgorithm
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