#[repr(C)]pub struct aws_custom_key_op_handler_vtable {
pub on_key_operation: Option<unsafe extern "C" fn(key_op_handler: *mut aws_custom_key_op_handler, operation: *mut aws_tls_key_operation)>,
}
Expand description
vtable for aws_custom_key_op_handler.
Fields
on_key_operation: Option<unsafe extern "C" fn(key_op_handler: *mut aws_custom_key_op_handler, operation: *mut aws_tls_key_operation)>
Called when the a TLS handshake has an operation it needs the custom key operation handler to perform. NOTE: You must call aws_tls_key_operation_complete() or aws_tls_key_operation_complete_with_error() otherwise the TLS handshake will stall the TLS connection indefinitely and leak memory.
Trait Implementations
sourceimpl Clone for aws_custom_key_op_handler_vtable
impl Clone for aws_custom_key_op_handler_vtable
sourcefn clone(&self) -> aws_custom_key_op_handler_vtable
fn clone(&self) -> aws_custom_key_op_handler_vtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for aws_custom_key_op_handler_vtable
impl Default for aws_custom_key_op_handler_vtable
sourcefn default() -> aws_custom_key_op_handler_vtable
fn default() -> aws_custom_key_op_handler_vtable
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_custom_key_op_handler_vtable> for aws_custom_key_op_handler_vtable
impl PartialEq<aws_custom_key_op_handler_vtable> for aws_custom_key_op_handler_vtable
sourcefn eq(&self, other: &aws_custom_key_op_handler_vtable) -> bool
fn eq(&self, other: &aws_custom_key_op_handler_vtable) -> bool
impl Copy for aws_custom_key_op_handler_vtable
impl Eq for aws_custom_key_op_handler_vtable
impl StructuralEq for aws_custom_key_op_handler_vtable
impl StructuralPartialEq for aws_custom_key_op_handler_vtable
Auto Trait Implementations
impl RefUnwindSafe for aws_custom_key_op_handler_vtable
impl Send for aws_custom_key_op_handler_vtable
impl Sync for aws_custom_key_op_handler_vtable
impl Unpin for aws_custom_key_op_handler_vtable
impl UnwindSafe for aws_custom_key_op_handler_vtable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more