pub struct ClientCertstore<S> where
S: Store, { /* private fields */ }
Implementations
sourceimpl<S: Store> ClientCertstore<S>
impl<S: Store> ClientCertstore<S>
pub fn new(client_id: ClientId, rng: ChaCha8Rng, store: S) -> Self
Trait Implementations
sourceimpl<S: Store> Certstore for ClientCertstore<S>
impl<S: Store> Certstore for ClientCertstore<S>
fn delete_certificate(&mut self, id: CertId) -> Result<()>
fn read_certificate(&mut self, id: CertId) -> Result<Message>
Auto Trait Implementations
impl<S> RefUnwindSafe for ClientCertstore<S> where
S: RefUnwindSafe,
impl<S> Send for ClientCertstore<S> where
S: Send,
impl<S> Sync for ClientCertstore<S> where
S: Sync,
impl<S> Unpin for ClientCertstore<S> where
S: Unpin,
impl<S> UnwindSafe for ClientCertstore<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more