pub struct Crypto;
Implementations§
Source§impl Crypto
impl Crypto
pub fn pem_load_certs<T: AsRef<Path>>( file_name: T, ) -> Result<Vec<CertificateDer<'static>>>
pub fn pem_load_private_key<T: AsRef<Path>>( file_name: T, ) -> Result<PrivateKeyDer<'static>>
Auto Trait Implementations§
impl Freeze for Crypto
impl RefUnwindSafe for Crypto
impl Send for Crypto
impl Sync for Crypto
impl Unpin for Crypto
impl UnwindSafe for Crypto
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