Struct esp_idf_sys::mbedtls_ecp_curve_info
source · [−]#[repr(C)]pub struct mbedtls_ecp_curve_info {
pub grp_id: mbedtls_ecp_group_id,
pub tls_id: u16,
pub bit_size: u16,
pub name: *const c_char,
}
Expand description
Curve information, for use by other modules.
Fields
grp_id: mbedtls_ecp_group_id
< An internal identifier.
tls_id: u16
< The TLS NamedCurve identifier.
bit_size: u16
< The curve size in bits.
name: *const c_char
< A human-friendly name.
Trait Implementations
sourceimpl Clone for mbedtls_ecp_curve_info
impl Clone for mbedtls_ecp_curve_info
sourcefn clone(&self) -> mbedtls_ecp_curve_info
fn clone(&self) -> mbedtls_ecp_curve_info
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_ecp_curve_info
impl Debug for mbedtls_ecp_curve_info
sourceimpl Default for mbedtls_ecp_curve_info
impl Default for mbedtls_ecp_curve_info
impl Copy for mbedtls_ecp_curve_info
Auto Trait Implementations
impl RefUnwindSafe for mbedtls_ecp_curve_info
impl !Send for mbedtls_ecp_curve_info
impl !Sync for mbedtls_ecp_curve_info
impl Unpin for mbedtls_ecp_curve_info
impl UnwindSafe for mbedtls_ecp_curve_info
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more