pub struct RelatedDigest<'m, 'a, P: Digest<'a>> { /* private fields */ }Expand description
A separately completed input under an existing memo’s resolved identity.
Signed attributes need their own digest output, while sharing the payload’s already resolved identity. This result borrows that identity and owns its output; it cannot outlive the memo or become a fabricated digest identity.
Implementations§
Source§impl<'a, P: Digest<'a>> RelatedDigest<'_, 'a, P>
impl<'a, P: Digest<'a>> RelatedDigest<'_, 'a, P>
Auto Trait Implementations§
impl<'m, 'a, P> Freeze for RelatedDigest<'m, 'a, P>
impl<'m, 'a, P> RefUnwindSafe for RelatedDigest<'m, 'a, P>where
&'a P: RefUnwindSafe,
&'m <P as Digest<'a>>::Identity: RefUnwindSafe,
<P as Digest<'a>>::Output: RefUnwindSafe,
impl<'m, 'a, P> Send for RelatedDigest<'m, 'a, P>
impl<'m, 'a, P> Sync for RelatedDigest<'m, 'a, P>
impl<'m, 'a, P> Unpin for RelatedDigest<'m, 'a, P>
impl<'m, 'a, P> UnsafeUnpin for RelatedDigest<'m, 'a, P>where
&'a P: UnsafeUnpin,
&'m <P as Digest<'a>>::Identity: UnsafeUnpin,
<P as Digest<'a>>::Output: UnsafeUnpin,
impl<'m, 'a, P> UnwindSafe for RelatedDigest<'m, 'a, P>where
&'a P: UnwindSafe,
&'m <P as Digest<'a>>::Identity: UnwindSafe,
<P as Digest<'a>>::Output: UnwindSafe,
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