Struct tonic::transport::Certificate [−][src]
pub struct Certificate { /* fields omitted */ }
Expand description
Represents a X509 certificate.
Implementations
Parse a PEM encoded X509 Certificate.
The provided PEM should include at least one PEM encoded certificate.
Get a immutable reference to underlying certificate
Get a mutable reference to underlying certificate
Consumes self
, returning the underlying 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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more