pub fn encoded_mut(&mut self) -> Result<&mut crate::Compact, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref mut encoded) => Ok(encoded),
        }
    }
/// Convenience method to get a mutable reference to the encoded string from an encoded compact JWS
Convenience method to get a mutable reference to the encoded string from an encoded compact JWS
Convenience method to get a mutable reference to the encoded string from an encoded compact JWS
pub fn encoded_mut(&mut self) -> Result<&mut crate::Compact, Error> {
        match *self {
            Compact::Decoded { .. } => Err(Error::UnsupportedOperation),
            Compact::Encoded(ref mut encoded) => Ok(encoded),
        }
    }
pub fn encoded_mut ( & mut self ) -> Result < & mut crate :: Compact , Error > { match * self { Compact :: Decoded { .. } => Err ( Error :: UnsupportedOperation ) , Compact :: Encoded ( ref mut encoded ) => Ok ( encoded ) , } }
Convenience method to get a mutable reference to the encoded string from an encoded compact JWS
Convenience method to get a mutable reference to the encoded string from an encoded compact JWS
&mut self
&mut self