Enum embedded_tls::blocking::Certificate
source · pub enum Certificate<'a> {
X509(&'a [u8]),
RawPublicKey(&'a [u8]),
}
Variants§
Trait Implementations§
source§impl<'a> Clone for Certificate<'a>
impl<'a> Clone for Certificate<'a>
source§fn clone(&self) -> Certificate<'a>
fn clone(&self) -> Certificate<'a>
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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for Certificate<'a>
impl<'a> Send for Certificate<'a>
impl<'a> Sync for Certificate<'a>
impl<'a> Unpin for Certificate<'a>
impl<'a> UnwindSafe for Certificate<'a>
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