pub struct Finalized<'p, P, I, O> { /* private fields */ }Expand description
A finalized output and its complete algorithm identity, without a cloneable state.
Implementations§
Source§impl<'p, P, I, O: AsRef<[u8]>> Finalized<'p, P, I, O>
impl<'p, P, I, O: AsRef<[u8]>> Finalized<'p, P, I, O>
Sourcepub fn identity(&self) -> &I
pub fn identity(&self) -> &I
Resolved identity, including parameters and output-length semantics.
Sourcepub fn as_bytes(&self) -> &[u8] ⓘ
pub fn as_bytes(&self) -> &[u8] ⓘ
Borrowed final output; providers must implement this as constant-time access.
Trait Implementations§
Auto Trait Implementations§
impl<'p, P, I, O> Freeze for Finalized<'p, P, I, O>
impl<'p, P, I, O> RefUnwindSafe for Finalized<'p, P, I, O>
impl<'p, P, I, O> Send for Finalized<'p, P, I, O>
impl<'p, P, I, O> Sync for Finalized<'p, P, I, O>
impl<'p, P, I, O> Unpin for Finalized<'p, P, I, O>
impl<'p, P, I, O> UnsafeUnpin for Finalized<'p, P, I, O>
impl<'p, P, I, O> UnwindSafe for Finalized<'p, P, I, O>
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