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.
The fields of this structure are part of the public API and can be accessed directly by applications. Future versions of the library may add extra fields or reorder existing fields.
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§
source§impl Clone for mbedtls_ecp_curve_info
impl Clone for mbedtls_ecp_curve_info
source§fn clone(&self) -> mbedtls_ecp_curve_info
fn clone(&self) -> mbedtls_ecp_curve_info
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for mbedtls_ecp_curve_info
impl Debug for mbedtls_ecp_curve_info
source§impl Default for mbedtls_ecp_curve_info
impl Default for mbedtls_ecp_curve_info
impl Copy for mbedtls_ecp_curve_info
Auto Trait Implementations§
impl Freeze for mbedtls_ecp_curve_info
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> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)