pub enum SecretKeyRef<'a> {
Ed25519(&'a SigningKey),
Jwk(&'a JWK),
}Variants§
Ed25519(&'a SigningKey)
Jwk(&'a JWK)
Trait Implementations§
source§impl<'a> From<&'a JWK> for SecretKeyRef<'a>
impl<'a> From<&'a JWK> for SecretKeyRef<'a>
source§impl<'a> From<&'a SigningKey> for SecretKeyRef<'a>
impl<'a> From<&'a SigningKey> for SecretKeyRef<'a>
source§fn from(value: &'a SigningKey) -> Self
fn from(value: &'a SigningKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for SecretKeyRef<'a>
impl<'a> RefUnwindSafe for SecretKeyRef<'a>
impl<'a> Send for SecretKeyRef<'a>
impl<'a> Sync for SecretKeyRef<'a>
impl<'a> Unpin for SecretKeyRef<'a>
impl<'a> UnwindSafe for SecretKeyRef<'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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.