Struct bonsaidb::server::fabruic::error::Certificate
pub struct Certificate {
pub error: CertificateError,
pub certificate: Vec<u8, Global>,
}
Expand description
Error constructing Certificate
with
Certificate::from_der
.
Fields§
§error: CertificateError
The error.
certificate: Vec<u8, Global>
The bytes used to build the Certificate
.
Trait Implementations§
§impl Clone for Certificate
impl Clone for Certificate
§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for Certificate
impl Debug for Certificate
§impl Display for Certificate
impl Display for Certificate
§impl Error for Certificate
impl Error for Certificate
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Certificate> for Error
impl From<Certificate> for Error
source§fn from(source: Certificate) -> Error
fn from(source: Certificate) -> Error
Converts to this type from the input type.