pub struct BatchEntry<'a, P: PublicKey> {
pub namespace: &'a [u8],
pub message: &'a [u8],
pub public_key: &'a P,
pub signature: &'a P::Signature,
}Expand description
A borrowed view of one signature and the message it authenticates.
Fields§
§namespace: &'a [u8]The namespace used during signing.
message: &'a [u8]The message used during signing.
public_key: &'a PThe signer’s public key.
signature: &'a P::SignatureThe signature to verify.
Trait Implementations§
impl<P: PublicKey> Copy for BatchEntry<'_, P>
Available on neither
commonware_stability_DELTA nor commonware_stability_EPSILON nor commonware_stability_GAMMA nor commonware_stability_RESERVED.Auto Trait Implementations§
impl<'a, P> Freeze for BatchEntry<'a, P>
impl<'a, P> RefUnwindSafe for BatchEntry<'a, P>
impl<'a, P> Send for BatchEntry<'a, P>
impl<'a, P> Sync for BatchEntry<'a, P>
impl<'a, P> Unpin for BatchEntry<'a, P>
impl<'a, P> UnsafeUnpin for BatchEntry<'a, P>
impl<'a, P> UnwindSafe for BatchEntry<'a, P>
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