Skip to main content

AsyncMultipartVerifier

Trait AsyncMultipartVerifier 

Source
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§

Source

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.

Implementors§

Source§

impl<S, T> AsyncMultipartVerifier<S> for T
where T: MultipartVerifier<S>,