There have been times when I've misjudged my level of tiredness. Drifting out of lane is a good marker that you've screwed up and need to pull over immediately and sleep.
Does Tesla have some way to determine wakefulness or to safely pull over if the driver fails to respond?