Struct rustls_ffi::cipher::rustls_supported_ciphersuite
source · pub struct rustls_supported_ciphersuite { /* private fields */ }
Expand description
A cipher suite supported by rustls.
Implementations§
source§impl rustls_supported_ciphersuite
impl rustls_supported_ciphersuite
source#[no_mangle]pub extern "C" fn rustls_supported_ciphersuite_get_suite(
supported_ciphersuite: *const rustls_supported_ciphersuite,
) -> u16
#[no_mangle]pub extern "C" fn rustls_supported_ciphersuite_get_suite(
supported_ciphersuite: *const rustls_supported_ciphersuite,
) -> u16
Return a 16-bit unsigned integer corresponding to this cipher suite’s assignment from https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4.
The bytes from the assignment are interpreted in network order.
Auto Trait Implementations§
impl Freeze for rustls_supported_ciphersuite
impl RefUnwindSafe for rustls_supported_ciphersuite
impl Send for rustls_supported_ciphersuite
impl Sync for rustls_supported_ciphersuite
impl Unpin for rustls_supported_ciphersuite
impl UnwindSafe for rustls_supported_ciphersuite
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