#[repr(C)]pub struct dtls_ecdsa_key_t {
pub curve: dtls_ecdh_curve,
pub priv_key: *const c_uchar,
pub pub_key_x: *const c_uchar,
pub pub_key_y: *const c_uchar,
}Fields§
§curve: dtls_ecdh_curve§priv_key: *const c_uchar§pub_key_x: *const c_uchar< private key as bytes >
pub_key_y: *const c_uchar< x part of the public key for the given private key >
Trait Implementations§
Source§impl Clone for dtls_ecdsa_key_t
impl Clone for dtls_ecdsa_key_t
Source§fn clone(&self) -> dtls_ecdsa_key_t
fn clone(&self) -> dtls_ecdsa_key_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for dtls_ecdsa_key_t
Auto Trait Implementations§
impl !Send for dtls_ecdsa_key_t
impl !Sync for dtls_ecdsa_key_t
impl Freeze for dtls_ecdsa_key_t
impl RefUnwindSafe for dtls_ecdsa_key_t
impl Unpin for dtls_ecdsa_key_t
impl UnsafeUnpin for dtls_ecdsa_key_t
impl UnwindSafe for dtls_ecdsa_key_t
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