Struct scsys_crypto::keys::Keypair
source · pub struct Keypair(_);Implementations
sourceimpl Keypair
impl Keypair
pub fn new(data: Ed25519KeyPair) -> Self
pub fn generate() -> Self
pub fn keypair(&self) -> &Ed25519KeyPair
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Keypair
impl Send for Keypair
impl Sync for Keypair
impl Unpin for Keypair
impl UnwindSafe for Keypair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more