Get the stream's expiry time as an absolute time.
time_point expiry() const;
An absolute time value representing the stream's expiry time.