pub enum CryptoScheme {
Ed25519,
Sr25519,
Ecdsa,
}Expand description
Crypto scheme selector for MultiSignature SCALE encoding.
Variants§
Ed25519
Ed25519 — SCALE variant byte 0x00
Sr25519
Sr25519 — SCALE variant byte 0x01
Ecdsa
ECDSA (secp256k1) — SCALE variant byte 0x02
Trait Implementations§
Source§impl Clone for CryptoScheme
impl Clone for CryptoScheme
Source§fn clone(&self) -> CryptoScheme
fn clone(&self) -> CryptoScheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptoScheme
impl Debug for CryptoScheme
Source§impl PartialEq for CryptoScheme
impl PartialEq for CryptoScheme
impl Copy for CryptoScheme
impl Eq for CryptoScheme
impl StructuralPartialEq for CryptoScheme
Auto Trait Implementations§
impl Freeze for CryptoScheme
impl RefUnwindSafe for CryptoScheme
impl Send for CryptoScheme
impl Sync for CryptoScheme
impl Unpin for CryptoScheme
impl UnsafeUnpin for CryptoScheme
impl UnwindSafe for CryptoScheme
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