pub fn unwrap_decrypted(self) -> (Header<H>, T) {
        match self {
            Compact::Decrypted { header, payload } => (header, payload),
            Compact::Encrypted(_) => panic!("JWE is encrypted"),
        }
    }
/// Consumes self, and move the payload and header out and return them as a tuple
///
/// # Panics
/// Panics if the JWE is not decrypted
Consumes self, and move the payload and header out and return them as a tuple
Consumes self and move the payload and header out and return them as a tuple
pub fn unwrap_decrypted(self) -> (Header<H>, T) {
        match self {
            Compact::Decrypted { header, payload } => (header, payload),
            Compact::Encrypted(_) => panic!("JWE is encrypted"),
        }
    }
pub fn unwrap_decrypted ( self ) -> ( Header < H > , T ) { match self { Compact :: Decrypted { header , payload } => ( header , payload ) , Compact :: Encrypted ( _ ) => panic ! ( " " ) , } }
Consumes self, and move the payload and header out and return them as a tuple
Consumes self and move the payload and header out and return them as a tuple
self
self
panics
Panics if the JWE is not decrypted
Panics if the JWE is not decrypted