pub struct ECKey<'a> {
pub curve: u64,
pub is_private: bool,
pub data: &'a [u8],
}Expand description
Elliptic Curve (EC) key.
Fields§
§curve: u64The curve type.
is_private: boolPrivate key?
data: &'a [u8]The key material.
Implementations§
Trait Implementations§
impl<'a> Copy for ECKey<'a>
impl<'a> Eq for ECKey<'a>
impl<'a> StructuralPartialEq for ECKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for ECKey<'a>
impl<'a> RefUnwindSafe for ECKey<'a>
impl<'a> Send for ECKey<'a>
impl<'a> Sync for ECKey<'a>
impl<'a> Unpin for ECKey<'a>
impl<'a> UnwindSafe for ECKey<'a>
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