Struct reqwest::Certificate
source · pub struct Certificate(_);
Expand description
Represent an X509 certificate.
Implementations
sourceimpl Certificate
impl Certificate
sourcepub fn from_der(der: &[u8]) -> Result<Certificate>
pub fn from_der(der: &[u8]) -> Result<Certificate>
sourcepub fn from_pem(der: &[u8]) -> Result<Certificate>
pub fn from_pem(der: &[u8]) -> Result<Certificate>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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