A moving boundary hyperbolic problem for a stress impact in a bar of rate-type material