diff options
Diffstat (limited to 'openpgp/src/packet/header/mod.rs')
-rw-r--r-- | openpgp/src/packet/header/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/packet/header/mod.rs b/openpgp/src/packet/header/mod.rs index 95f2986b..8f455b1c 100644 --- a/openpgp/src/packet/header/mod.rs +++ b/openpgp/src/packet/header/mod.rs @@ -38,6 +38,7 @@ pub struct Header { /// The packet's length. length: BodyLength, } +assert_send_and_sync!{Header} impl Header { /// Creates a new header. @@ -245,3 +246,4 @@ pub enum BodyLength { /// This type is only used with old format packets. Indeterminate, } +assert_send_and_sync!{BodyLength} |