Struct paseto::v1::key_wrapper::CustomKeyWrapper [−][src]
pub struct CustomKeyWrapper<T>(pub T);
Expand description
Generic newtype wrapper that lets us implement traits for externally-defined types.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for CustomKeyWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for CustomKeyWrapper<T> where
T: Send,
impl<T> Sync for CustomKeyWrapper<T> where
T: Sync,
impl<T> Unpin for CustomKeyWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for CustomKeyWrapper<T> where
T: UnwindSafe,