pub struct MessageContract {
pub id: MessageId,
pub scope: ContractScope,
pub route: MessageRoute,
pub codec: CodecSupport,
pub payload_layout: PayloadLayout,
pub fixed_payload_bytes: Option<usize>,
pub payload_size_bounds: Option<PayloadSizeBounds>,
pub emission: EmissionSupport,
pub runtime_use: RuntimeUse,
pub field_fidelity: FieldFidelity,
pub response: ResponseExpectation,
pub verification: ContractVerification,
}Expand description
Machine-readable support record for one known message identifier.
This is an implementation inventory, not a claim that every cataloged
message is safe to send. OpaqueOnly entries exist for bounded forwarding
and remain non-emittable through the typed API. response
describes SCCP transaction acknowledgement; TCP acknowledgement is
intentionally not treated as application-level acceptance.
Fields§
§id: MessageId§scope: ContractScope§route: MessageRoute§codec: CodecSupport§payload_layout: PayloadLayout§fixed_payload_bytes: Option<usize>Canonical typed-encoder payload size when there is one stable, independently useful value. This excludes the 12-byte frame header; nominally empty decoders may still accept bounded extension bytes.
payload_size_bounds: Option<PayloadSizeBounds>Accepted payload-size range when both bounds are known.
emission: EmissionSupportTyped construction versus explicit opaque preservation.
runtime_use: RuntimeUseProduction/runtime use, distinct from mere encoder availability.
field_fidelity: FieldFidelityWhether the typed model retains every accepted semantic wire field.
response: ResponseExpectationSCCP response/acknowledgement family, when one exists.
verification: ContractVerificationDepth of contract validation performed by the codec.
Trait Implementations§
Source§impl Clone for MessageContract
impl Clone for MessageContract
Source§fn clone(&self) -> MessageContract
fn clone(&self) -> MessageContract
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more