pub trait AsyncMultipartVerifier<S> {
// Required method
async fn multipart_verify_async(
&self,
msg: &[&[u8]],
signature: &S,
) -> Result<(), Error>;
}Expand description
Asynchronous equivalent of MultipartVerifier where the message is
provided in non-contiguous byte slices.
This trait is an async equivalent of the MultipartVerifier trait.
Required Methods§
Sourceasync fn multipart_verify_async(
&self,
msg: &[&[u8]],
signature: &S,
) -> Result<(), Error>
async fn multipart_verify_async( &self, msg: &[&[u8]], signature: &S, ) -> Result<(), Error>
Async equivalent of MultipartVerifier::multipart_verify() where the
message is provided in non-contiguous byte slices.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.