pub struct DcapAttestation { /* private fields */ }
Expand description
A verifiable DCAP attestation generated by an enclave.
Implementations§
Source§impl DcapAttestation
impl DcapAttestation
pub fn new(quote: Quote, collateral: Collateral) -> Self
pub fn into_tuple(self) -> (Quote, Collateral)
Trait Implementations§
Source§impl Attestation for DcapAttestation
impl Attestation for DcapAttestation
fn mr_enclave(&self) -> MrEnclave
Source§impl Clone for DcapAttestation
impl Clone for DcapAttestation
Source§fn clone(&self) -> DcapAttestation
fn clone(&self) -> DcapAttestation
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 moreSource§impl Debug for DcapAttestation
impl Debug for DcapAttestation
Source§impl From<DcapAttestation> for RawDcapAttestation
impl From<DcapAttestation> for RawDcapAttestation
Source§fn from(value: DcapAttestation) -> Self
fn from(value: DcapAttestation) -> Self
Converts to this type from the input type.
Source§impl Handler for DcapAttestation
impl Handler for DcapAttestation
Source§impl HasUserData for DcapAttestation
impl HasUserData for DcapAttestation
Source§impl PartialEq for DcapAttestation
impl PartialEq for DcapAttestation
Source§impl Serialize for DcapAttestation
impl Serialize for DcapAttestation
Source§impl TryFrom<RawDcapAttestation> for DcapAttestation
impl TryFrom<RawDcapAttestation> for DcapAttestation
impl StructuralPartialEq for DcapAttestation
Auto Trait Implementations§
impl Freeze for DcapAttestation
impl RefUnwindSafe for DcapAttestation
impl Send for DcapAttestation
impl Sync for DcapAttestation
impl Unpin for DcapAttestation
impl UnwindSafe for DcapAttestation
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more