Skip to main content

IcSnapshotUploadReply

Struct IcSnapshotUploadReply 

Source
pub struct IcSnapshotUploadReply<'request, 'source> { /* private fields */ }
Expand description

Read-only decoded association with the exact source-bound upload declaration.

Implementations§

Source§

impl<'request, 'source> IcSnapshotUploadReply<'request, 'source>

Source

pub fn decode( request: &'request IcSnapshotUploadRequest<'source>, bytes: &[u8], ) -> Result<Self, IcSnapshotUploadError>

Admit an exact metadata ID or canonical empty data reply under finite quotas.

Reuses the bounded raw-ID visitor and lifecycle empty tuple owner. Exact wire association proves no target/context authentication, exclusive allocation, complete upload, new spending, retry, mutation settlement or release.

§Errors

Rejects excessive/invalid/extended/trailing replies and invalid/reused IDs.

Source

pub const fn request(&self) -> &'request IcSnapshotUploadRequest<'source>

Read the original exact source/wire declaration.

Source

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

Read passive method-specific data without outcome or dispatch admission.

Source

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

Read exact raw-reply checksum, independent of decoded canonical values.

Source

pub fn digest(&self) -> ArtifactChecksumRecord

Bind exact original source/wire association and raw bytes as local evidence.

Trait Implementations§

Source§

impl Debug for IcSnapshotUploadReply<'_, '_>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'request, 'source> Freeze for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> RefUnwindSafe for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> Send for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> Sync for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> Unpin for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> UnsafeUnpin for IcSnapshotUploadReply<'request, 'source>

§

impl<'request, 'source> UnwindSafe for IcSnapshotUploadReply<'request, 'source>

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.