You could get the world location of where the bullet should leave the gun, and the world location from the hit feed back by the trace node.
If there are any content that can be rendered as a bullet trail you know where it should start and end, as for making of the actual bullet trail in question, that is probably a question for the content subforum, no?
Maybe some kind of particles, or some other smart trick.