pub struct SslCurve(/* private fields */);
Expand description
A TLS Curve.
Implementations§
Source§impl SslCurve
impl SslCurve
pub const SECP224R1: SslCurve = _
pub const SECP256R1: SslCurve = _
pub const SECP384R1: SslCurve = _
pub const SECP521R1: SslCurve = _
pub const X25519: SslCurve = _
pub const X25519_KYBER768_DRAFT00: SslCurve = _
pub const X25519_KYBER768_DRAFT00_OLD: SslCurve = _
pub const X25519_KYBER512_DRAFT00: SslCurve = _
pub const P256_KYBER768_DRAFT00: SslCurve = _
Sourcepub fn name(&self) -> Option<&'static str>
pub fn name(&self) -> Option<&'static str>
Returns the curve name
This corresponds to SSL_get_curve_name
This corresponds to SSL_get_curve_name
.
Trait Implementations§
impl Copy for SslCurve
impl Eq for SslCurve
impl StructuralPartialEq for SslCurve
Auto Trait Implementations§
impl Freeze for SslCurve
impl RefUnwindSafe for SslCurve
impl Send for SslCurve
impl Sync for SslCurve
impl Unpin for SslCurve
impl UnwindSafe for SslCurve
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)