pub struct StaticKeys(/* private fields */);Expand description
A fixed set of issuer keys.
Implementations§
Trait Implementations§
Source§impl Clone for StaticKeys
impl Clone for StaticKeys
Source§impl Debug for StaticKeys
impl Debug for StaticKeys
Source§impl Default for StaticKeys
impl Default for StaticKeys
Source§impl IssuerKeys for StaticKeys
impl IssuerKeys for StaticKeys
Source§fn key<'a>(
&'a self,
kid: &'a str,
) -> BoxFuture<'a, Result<Option<VerifyingKey>, KeysUnavailable>>
fn key<'a>( &'a self, kid: &'a str, ) -> BoxFuture<'a, Result<Option<VerifyingKey>, KeysUnavailable>>
Resolves
kid. Returns Ok(None) when the issuer has no such key and
KeysUnavailable when the keys cannot be obtained at all.Auto Trait Implementations§
impl Freeze for StaticKeys
impl RefUnwindSafe for StaticKeys
impl Send for StaticKeys
impl Sync for StaticKeys
impl Unpin for StaticKeys
impl UnsafeUnpin for StaticKeys
impl UnwindSafe for StaticKeys
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