pub struct ReferenceInput<'input, 'model, 'document> { /* private fields */ }Expand description
Closed original recipe: only range descriptors are retained, never payload copies or a caller-selected replacement digest. No detached input is used.
Implementations§
Source§impl<'s, 'm, 'd> ReferenceInput<'s, 'm, 'd>
impl<'s, 'm, 'd> ReferenceInput<'s, 'm, 'd>
Sourcepub fn new(
prepared: &'s Preparation<'m, 'd>,
ordinal: usize,
operation: &'s Reader<'d>,
) -> Result<Self, SelectionError>
pub fn new( prepared: &'s Preparation<'m, 'd>, ordinal: usize, operation: &'s Reader<'d>, ) -> Result<Self, SelectionError>
Selects the actual unsigned owner and the exact registered token value. Current EN rules require both references Attributes, and additionally signature timestamps for .25. No genTime/order chronology is inferred.
Trait Implementations§
Source§impl<P, PE> ComputedInput<P, PE> for ReferenceInput<'_, '_, '_>
impl<P, PE> ComputedInput<P, PE> for ReferenceInput<'_, '_, '_>
Source§fn compute<'context, 'reader, 'document>(
&mut self,
context: &'context ImprintContext<'reader, 'document, P, Self::Error>,
) -> Result<ImprintProof<'context>, InputFailure<Self::Error>>where
P: AsnDigest<'document, Error = PE>,
fn compute<'context, 'reader, 'document>(
&mut self,
context: &'context ImprintContext<'reader, 'document, P, Self::Error>,
) -> Result<ImprintProof<'context>, InputFailure<Self::Error>>where
P: AsnDigest<'document, Error = PE>,
Complete the input, preserving refusal even when a callback ignores it.
Auto Trait Implementations§
impl<'input, 'model, 'document> !Freeze for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> !RefUnwindSafe for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> !Send for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> !Sync for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> !UnwindSafe for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> Unpin for ReferenceInput<'input, 'model, 'document>
impl<'input, 'model, 'document> UnsafeUnpin for ReferenceInput<'input, 'model, 'document>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more