pub trait TokenDecoderClone<T: for<'b> Deserialize<'b> + Claims>: Send + Sync {
// Required method
fn clone_box(&self) -> Box<dyn TokenDecoder<T>>;
}Expand description
A token decoder must be cloneable, send and sync.
Therefore it has to implement the TokenDecoderClone trait to be cloneable as a boxed object.