pub struct InMemoryRegistry { /* private fields */ }Implementations§
Source§impl InMemoryRegistry
impl InMemoryRegistry
pub fn new() -> Self
pub fn with_scheme(self, scheme: Box<dyn PqSignatureScheme>) -> Self
pub fn add_scheme(&mut self, scheme: Box<dyn PqSignatureScheme>)
Trait Implementations§
Source§impl PqSchemeRegistry for InMemoryRegistry
impl PqSchemeRegistry for InMemoryRegistry
fn get(&self, id: &SignatureSchemeId) -> Option<&dyn PqSignatureScheme>
Auto Trait Implementations§
impl Freeze for InMemoryRegistry
impl !RefUnwindSafe for InMemoryRegistry
impl Send for InMemoryRegistry
impl Sync for InMemoryRegistry
impl Unpin for InMemoryRegistry
impl UnsafeUnpin for InMemoryRegistry
impl !UnwindSafe for InMemoryRegistry
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