Struct bonsaidb::client::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.
§impl PartialEq<Certificate> for Certificate
impl PartialEq<Certificate> for Certificate
§fn eq(&self, other: &Certificate) -> bool
fn eq(&self, other: &Certificate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Certificate
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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