Skip to main content

IcLifecycleReply

Struct IcLifecycleReply 

Source
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>

Source

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.

Source

pub const fn request(&self) -> &'request IcManagementRequestRecord

Read the original method, canonical target and exact wire identity owner.

Source

pub const fn kind(&self) -> &IcLifecycleReplyKind

Read the method-specific local projection or acknowledgement.

Source

pub const fn payload_checksum(&self) -> &ArtifactChecksumRecord

Read SHA-256 of exact raw bytes, including all unprojected fields/order.

Source

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.

Trait Implementations§

Source§

impl<'request> Debug for IcLifecycleReply<'request>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'request> Freeze for IcLifecycleReply<'request>

§

impl<'request> RefUnwindSafe for IcLifecycleReply<'request>

§

impl<'request> Send for IcLifecycleReply<'request>

§

impl<'request> Sync for IcLifecycleReply<'request>

§

impl<'request> Unpin for IcLifecycleReply<'request>

§

impl<'request> UnsafeUnpin for IcLifecycleReply<'request>

§

impl<'request> UnwindSafe for IcLifecycleReply<'request>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.