diff options
Diffstat (limited to 'openpgp/src/parse/stream.rs')
-rw-r--r-- | openpgp/src/parse/stream.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs index 3cb1ae78..a55f263f 100644 --- a/openpgp/src/parse/stream.rs +++ b/openpgp/src/parse/stream.rs @@ -302,6 +302,7 @@ pub enum VerificationError<'a> { error: anyhow::Error, }, } +assert_send_and_sync!(VerificationError<'_>); impl<'a> std::fmt::Display for VerificationError<'a> { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { @@ -570,6 +571,7 @@ pub enum MessageLayer<'a> { results: Vec<VerificationResult<'a>>, } } +assert_send_and_sync!(MessageLayer<'_>); /// Internal version of the message structure. /// |