1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mod attachment;
mod headers;
mod jwe;
mod jwk;
mod jws;
mod mediated;
mod message;
mod prior_claims;
mod problem_report;
mod types;
#[cfg(feature = "raw-crypto")]
mod raw;
#[cfg(feature = "out-of-band")]
pub mod out_of_band;
pub use attachment::*;
pub use headers::*;
pub use jwe::*;
pub use jwk::*;
pub use jws::*;
pub use mediated::*;
pub use message::*;
pub use prior_claims::*;
pub use problem_report::*;
pub use types::*;
#[cfg(feature = "raw-crypto")]
pub use raw::*;
pub trait Shape: Sized {
type Err;
fn shape(m: &Message) -> Result<Self, Self::Err>;
}