#[repr(C)]pub struct Params {
pub curve: usize,
pub private: *const u8,
pub public: *const u8,
pub shared: *mut u8,
}Expand description
Parameters of shared
Fields§
§curve: usizeThe curve.
private: *const u8The private key.
public: *const u8The public key.
The shared secret.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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