pub enum PortableProof {
Certified(CertifiedProof),
Ed25519(Bytes<64>),
}Expand description
PortableProof
Claimed proof mechanism; the host’s enrollment selects the verifier.
Variants§
Certified(CertifiedProof)
Root-delegated certified issuer proof, transport tag zero.
Ed25519(Bytes<64>)
At most 64 signature bytes; strict verification later requires exactly 64.
Trait Implementations§
Source§impl Clone for PortableProof
impl Clone for PortableProof
Source§impl Debug for PortableProof
impl Debug for PortableProof
Source§impl<'de> Deserialize<'de> for PortableProof
impl<'de> Deserialize<'de> for PortableProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PortableProof
Source§impl<'__wire_read> Inline<'__wire_read> for PortableProofwhere
CertifiedProof: Inline<'__wire_read>,
Bytes<64>: Inline<'__wire_read>,
impl<'__wire_read> Inline<'__wire_read> for PortableProofwhere
CertifiedProof: Inline<'__wire_read>,
Bytes<64>: Inline<'__wire_read>,
Source§type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
The staged Serde value and its borrowed application data or scratch.
Source§type Decoded = __WireDecodedView<'__wire_read>
type Decoded = __WireDecodedView<'__wire_read>
The raw Serde value to project with the enclosing read context.
Source§impl PartialEq for PortableProof
impl PartialEq for PortableProof
Source§impl Serialize for PortableProof
impl Serialize for PortableProof
impl StructuralPartialEq for PortableProof
Source§impl Wire for PortableProof
impl Wire for PortableProof
Source§fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
Produce metadata using
context.describe for every nested Rust type. Read moreAuto Trait Implementations§
impl Forget for PortableProof
impl Freeze for PortableProofwhere
*const u8 is !null: Freeze,
PhantomData<DelegatedRoleGrant>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ChainKeyBatchWitnessStepV1>: Freeze,
PhantomData<Bytes<256>>: Freeze,
impl Move for PortableProof
impl RefUnwindSafe for PortableProof
impl Send for PortableProofwhere
RawVecInner: Send,
impl Sync for PortableProofwhere
RawVecInner: Sync,
impl Unpin for PortableProof
impl UnsafeUnpin for PortableProofwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<DelegatedRoleGrant>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ChainKeyBatchWitnessStepV1>: UnsafeUnpin,
PhantomData<Bytes<256>>: UnsafeUnpin,
impl UnwindSafe for PortableProofwhere
RawVecInner: 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