pub struct HandshakeIdentity {
pub protocol_profile: String,
pub value_profile: String,
pub module_instance: String,
pub module_generation: String,
pub generation_spec_digest: String,
pub artifact_digest: String,
pub effective_host_grant_set_digest: String,
pub interaction_profiles: Vec<String>,
pub provided_capabilities: Vec<CapabilityDescriptor>,
pub outbound_bindings: Vec<OutboundBindingDescriptor>,
pub peer_limits: PeerLimits,
}Expand description
Immutable identity the child must echo exactly during handshake.
Fields§
§protocol_profile: StringExact transport profile.
value_profile: StringExact portable value profile.
module_instance: StringApp-local Module Instance key.
module_generation: StringCanonical decimal Module generation.
generation_spec_digest: StringExact App Generation Spec digest.
artifact_digest: StringExact executable Artifact digest.
effective_host_grant_set_digest: StringExact Effective Host Grant Set digest.
interaction_profiles: Vec<String>Canonical-sorted exact interaction profiles.
provided_capabilities: Vec<CapabilityDescriptor>Canonical-sorted provided Capability Descriptors.
outbound_bindings: Vec<OutboundBindingDescriptor>Canonical-sorted explicit outbound bindings.
peer_limits: PeerLimitsLimits both peers must confirm exactly.
Implementations§
Source§impl HandshakeIdentity
impl HandshakeIdentity
Sourcepub fn validate(&self) -> Result<(), ProtocolError>
pub fn validate(&self) -> Result<(), ProtocolError>
Validates exact profiles, digests, canonical ordering, and V1 limits.
Trait Implementations§
Source§impl Clone for HandshakeIdentity
impl Clone for HandshakeIdentity
Source§fn clone(&self) -> HandshakeIdentity
fn clone(&self) -> HandshakeIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HandshakeIdentity
impl Debug for HandshakeIdentity
Source§impl<'de> Deserialize<'de> for HandshakeIdentity
impl<'de> Deserialize<'de> for HandshakeIdentity
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 HandshakeIdentity
Source§impl PartialEq for HandshakeIdentity
impl PartialEq for HandshakeIdentity
Source§impl Serialize for HandshakeIdentity
impl Serialize for HandshakeIdentity
impl StructuralPartialEq for HandshakeIdentity
Auto Trait Implementations§
impl Freeze for HandshakeIdentity
impl RefUnwindSafe for HandshakeIdentity
impl Send for HandshakeIdentity
impl Sync for HandshakeIdentity
impl Unpin for HandshakeIdentity
impl UnsafeUnpin for HandshakeIdentity
impl UnwindSafe for HandshakeIdentity
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