Trait IntoParts

Source
pub trait IntoParts<'c> {
    type Error;

    // Required method
    fn into_parts(&'c self) -> Result<Parts<'_, '_, '_>, Self::Error>;
}
Expand description

Transform something into Jwt’s parts

Required Associated Types§

Source

type Error

Error type from a convertion

Required Methods§

Source

fn into_parts(&'c self) -> Result<Parts<'_, '_, '_>, Self::Error>

Convert it!

Implementors§

Source§

impl<'jwt> IntoParts<'jwt> for Jwt<'jwt>