pub struct IcLifecycleReply<'request> { /* private fields */ }Expand description
Local reply evidence associated with the caller’s immutable exact request.
The wire carries no network, caller, target or challenge. Integrations must authenticate association, qualify observation timing and consume original per-call authority. No decoded kind settles pending attempts, replenishes limits, admits restart/load/fence release or proves complete same-release restoration.
Implementations§
Source§impl<'request> IcLifecycleReply<'request>
impl<'request> IcLifecycleReply<'request>
Sourcepub fn decode(
request: &'request IcManagementRequestRecord,
bytes: &[u8],
) -> Result<Self, IcLifecycleReplyError>
pub fn decode( request: &'request IcManagementRequestRecord, bytes: &[u8], ) -> Result<Self, IcLifecycleReplyError>
Admit the existing status, stop, start or load reply under finite local bounds.
Status requires exactly one value with required status/settings/controllers. Unprojected fields are skipped, not validated. Acknowledgements require the canonical six-byte empty tuple, with no extra type table, argument or bytes.
§Errors
Rejects unsupported methods, excessive raw input, invalid/bounded wire shapes and duplicate controller identity, with no raw payload in diagnostics.
Sourcepub const fn request(&self) -> &'request IcManagementRequestRecord
pub const fn request(&self) -> &'request IcManagementRequestRecord
Read the original method, canonical target and exact wire identity owner.
Sourcepub const fn kind(&self) -> &IcLifecycleReplyKind
pub const fn kind(&self) -> &IcLifecycleReplyKind
Read the method-specific local projection or acknowledgement.
Sourcepub const fn payload_checksum(&self) -> &ArtifactChecksumRecord
pub const fn payload_checksum(&self) -> &ArtifactChecksumRecord
Read SHA-256 of exact raw bytes, including all unprojected fields/order.
Sourcepub fn digest(&self) -> ArtifactChecksumRecord
pub fn digest(&self) -> ArtifactChecksumRecord
Hash existing request digest and exact raw-reply checksum in a v1 domain.
Two fixed 64-byte lowercase SHA-256 strings follow the NUL-terminated domain. This binds declared association and never authenticates a transport receipt.