Skip to main content

Prepared

Struct Prepared 

Source
pub struct Prepared<'p, P: Digest<'p>, N, D, G> { /* private fields */ }
Expand description

Original XML method/value admitted and resolved before asynchronous input or provider state creation. Only the declared digest bytes are retained; this is not a finished digest or evidence of signed coverage.

Implementations§

Source§

impl<'p, P: Digest<'p>, N: Copy + Eq, D: Copy + Eq, G: Copy + Eq> Prepared<'p, P, N, D, G>

Source

pub fn check_finished<X: Xml<Id = N, Document = D, Generation = G>, W: Work>( &self, xml: &X, actual: Finished<'_, P, P::Identity, P::Output>, execution: &W, ) -> BinaryResult<Agreement, X, Error<Infallible, P::Error>>

Compares the actual completed shared output without another XML decode, method resolution, hash state, source pass or identity/output clone. Reusing a stale XML generation or another provider is processing refusal.

Auto Trait Implementations§

§

impl<'p, P, N, D, G> !Freeze for Prepared<'p, P, N, D, G>

§

impl<'p, P, N, D, G> Forget for Prepared<'p, P, N, D, G>

§

impl<'p, P, N, D, G> RefUnwindSafe for Prepared<'p, P, N, D, G>
where &'p P: RefUnwindSafe, Reference<N, D, G>: RefUnwindSafe, PreparedValue<<P as Digest<'p>>::Identity>: RefUnwindSafe,

§

impl<'p, P, N, D, G> Send for Prepared<'p, P, N, D, G>
where &'p P: Send, Reference<N, D, G>: Send, PreparedValue<<P as Digest<'p>>::Identity>: Send,

§

impl<'p, P, N, D, G> Sync for Prepared<'p, P, N, D, G>
where &'p P: Sync, Reference<N, D, G>: Sync, PreparedValue<<P as Digest<'p>>::Identity>: Sync,

§

impl<'p, P, N, D, G> Unpin for Prepared<'p, P, N, D, G>
where &'p P: Unpin, Reference<N, D, G>: Unpin, PreparedValue<<P as Digest<'p>>::Identity>: Unpin,

§

impl<'p, P, N, D, G> UnsafeUnpin for Prepared<'p, P, N, D, G>
where &'p P: UnsafeUnpin, Reference<N, D, G>: UnsafeUnpin, PreparedValue<<P as Digest<'p>>::Identity>: UnsafeUnpin,

§

impl<'p, P, N, D, G> UnwindSafe for Prepared<'p, P, N, D, G>
where &'p P: UnwindSafe, Reference<N, D, G>: UnwindSafe, PreparedValue<<P as Digest<'p>>::Identity>: UnwindSafe,

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, 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.