Struct chain_crypto::role::SecretKey
source · pub struct SecretKey<R, Algorithm: AsymmetricKey> {
inner: SecretKey<Algorithm>,
marker: PhantomData<R>,
}
Fields§
§inner: SecretKey<Algorithm>
§marker: PhantomData<R>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, Algorithm> RefUnwindSafe for SecretKey<R, Algorithm>where R: RefUnwindSafe, <Algorithm as AsymmetricKey>::Secret: RefUnwindSafe,
impl<R, Algorithm> Send for SecretKey<R, Algorithm>where R: Send, <Algorithm as AsymmetricKey>::Secret: Send,
impl<R, Algorithm> Sync for SecretKey<R, Algorithm>where R: Sync, <Algorithm as AsymmetricKey>::Secret: Sync,
impl<R, Algorithm> Unpin for SecretKey<R, Algorithm>where R: Unpin, <Algorithm as AsymmetricKey>::Secret: Unpin,
impl<R, Algorithm> UnwindSafe for SecretKey<R, Algorithm>where R: UnwindSafe, <Algorithm as AsymmetricKey>::Secret: UnwindSafe,
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