pub struct CertStore { /* private fields */ }Implementations§
Source§impl CertStore
impl CertStore
pub fn empty() -> Result<CertStore, RlsError>
pub fn add_cert(&mut self, cert: Certificate) -> Result<(), RlsError>
pub fn extend_certs(&mut self, certs: Vec<Certificate>) -> Result<(), RlsError>
pub fn pointer(&self) -> &CPointer<X509_STORE>
pub fn verify_cert( &self, certs: &mut Vec<Certificate>, sni: &str, ) -> Result<(), RlsError>
Auto Trait Implementations§
impl Freeze for CertStore
impl RefUnwindSafe for CertStore
impl Send for CertStore
impl Sync for CertStore
impl Unpin for CertStore
impl UnsafeUnpin for CertStore
impl UnwindSafe for CertStore
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