pub struct VerifiedAssignment { /* private fields */ }Expand description
An assignment whose attestation verified and whose encryption key is ready for sealing.
Implementations§
Source§impl VerifiedAssignment
impl VerifiedAssignment
Sourcepub const fn attestation(&self) -> Option<&VerifiedAttestation>
pub const fn attestation(&self) -> Option<&VerifiedAttestation>
Metadata from the verified channel-key Nitro attestation; None for a dev Verifier’s.
Sourcepub const fn consumer(&self) -> &ChannelConsumer
pub const fn consumer(&self) -> &ChannelConsumer
The channel consumer bound to this assignment’s verified key.
Sourcepub const fn release(&self) -> &ReleaseManifest
pub const fn release(&self) -> &ReleaseManifest
The attested release the enclave runs. Its manifest signature is not verified here (WIP-201 §4.3.4).
Trait Implementations§
Source§impl Clone for VerifiedAssignment
impl Clone for VerifiedAssignment
Auto Trait Implementations§
impl Forget for VerifiedAssignment
impl Freeze for VerifiedAssignmentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<usize, ByteBuf> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(usize, ByteBuf)>>: Freeze,
PhantomData<ByteBuf>: Freeze,
&'static str: Freeze,
&'static [u8]: Freeze,
PublicKey: Freeze,
PhantomData<Pipeline>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<PipelineType>: Freeze,
impl Move for VerifiedAssignment
impl RefUnwindSafe for VerifiedAssignmentwhere
PublicKey: RefUnwindSafe,
impl Send for VerifiedAssignment
impl Sync for VerifiedAssignment
impl Unpin for VerifiedAssignment
impl UnsafeUnpin for VerifiedAssignmentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<usize, ByteBuf> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(usize, ByteBuf)>>: UnsafeUnpin,
PhantomData<ByteBuf>: UnsafeUnpin,
&'static str: UnsafeUnpin,
&'static [u8]: UnsafeUnpin,
PublicKey: UnsafeUnpin,
PhantomData<Pipeline>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<PipelineType>: UnsafeUnpin,
impl UnwindSafe for VerifiedAssignmentwhere
RawVecInner: UnwindSafe,
BTreeMap<usize, ByteBuf>: UnwindSafe,
&'static str: UnwindSafe,
&'static [u8]: UnwindSafe,
PublicKey: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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