pub enum AlgorithmId {
EdDSA,
ChaCha20Poly1305,
}
Variants§
EdDSA
EdDSA (Pure EdDSA, not HashedEdDSA) - the algorithm used for Cardano addresses
ChaCha20Poly1305
ChaCha20/Poly1305 w/ 256-bit key, 128-bit tag
Trait Implementations§
Source§impl Clone for AlgorithmId
impl Clone for AlgorithmId
Source§fn clone(&self) -> AlgorithmId
fn clone(&self) -> AlgorithmId
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 AlgorithmId
impl Debug for AlgorithmId
Source§impl From<AlgorithmId> for Label
impl From<AlgorithmId> for Label
Source§fn from(id: AlgorithmId) -> Label
fn from(id: AlgorithmId) -> Label
Converts to this type from the input type.
Source§impl TryFrom<Label> for AlgorithmId
impl TryFrom<Label> for AlgorithmId
impl Copy for AlgorithmId
Auto Trait Implementations§
impl Freeze for AlgorithmId
impl RefUnwindSafe for AlgorithmId
impl Send for AlgorithmId
impl Sync for AlgorithmId
impl Unpin for AlgorithmId
impl UnwindSafe for AlgorithmId
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