pub enum Key<'a> {
ECKey(ECKey<'a>),
HDKey(HDKeyRef<'a>),
}Expand description
A key.
Variants§
ECKey(ECKey<'a>)
Elliptic-curve key.
HDKey(HDKeyRef<'a>)
Elliptic-curve key with the derivation information.
Trait Implementations§
impl<'a> StructuralPartialEq for Key<'a>
Auto Trait Implementations§
impl<'a> Freeze for Key<'a>
impl<'a> RefUnwindSafe for Key<'a>
impl<'a> Send for Key<'a>
impl<'a> Sync for Key<'a>
impl<'a> Unpin for Key<'a>
impl<'a> UnwindSafe for Key<'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