Struct boring_sys::ssl_private_key_method_st
source · #[repr(C)]pub struct ssl_private_key_method_st {
pub sign: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize, signature_algorithm: u16, in_: *const u8, in_len: usize) -> ssl_private_key_result_t>,
pub decrypt: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize, in_: *const u8, in_len: usize) -> ssl_private_key_result_t>,
pub complete: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize) -> ssl_private_key_result_t>,
}
Fields§
§sign: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize, signature_algorithm: u16, in_: *const u8, in_len: usize) -> ssl_private_key_result_t>
§decrypt: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize, in_: *const u8, in_len: usize) -> ssl_private_key_result_t>
§complete: Option<unsafe extern "C" fn(ssl: *mut SSL, out: *mut u8, out_len: *mut usize, max_out: usize) -> ssl_private_key_result_t>
Trait Implementations§
source§impl Clone for ssl_private_key_method_st
impl Clone for ssl_private_key_method_st
source§fn clone(&self) -> ssl_private_key_method_st
fn clone(&self) -> ssl_private_key_method_st
Returns a copy 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 moresource§impl Debug for ssl_private_key_method_st
impl Debug for ssl_private_key_method_st
source§impl Default for ssl_private_key_method_st
impl Default for ssl_private_key_method_st
source§fn default() -> ssl_private_key_method_st
fn default() -> ssl_private_key_method_st
Returns the “default value” for a type. Read more
source§impl PartialEq for ssl_private_key_method_st
impl PartialEq for ssl_private_key_method_st
source§fn eq(&self, other: &ssl_private_key_method_st) -> bool
fn eq(&self, other: &ssl_private_key_method_st) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ssl_private_key_method_st
impl Eq for ssl_private_key_method_st
impl StructuralPartialEq for ssl_private_key_method_st
Auto Trait Implementations§
impl Freeze for ssl_private_key_method_st
impl RefUnwindSafe for ssl_private_key_method_st
impl Send for ssl_private_key_method_st
impl Sync for ssl_private_key_method_st
impl Unpin for ssl_private_key_method_st
impl UnwindSafe for ssl_private_key_method_st
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