What are your rights when travel is cancelled or delayed?

With the tech outage impacting transport systems worldwide, many find themselves experiencing delays of unknown duration and possible cancellations.
Source: Sky Business News