When Network Rail rebuilt the sea wall north of Dawlish station following the storms of February 2014 they provided plenty of drains to carry away any water that might land on the track in the future. Each is covered by a blue one-way valve to prevent high tides washing up the drains in the wrong direction.
<a href="//commons.wikimedia.org/wiki/User:Geof_Sheppard" title="User:Geof Sheppard">Geof Sheppard</a>
CC BY-SA 3.0
<span class="int-own-work" lang="en">Own work</span>