Template validateConnectionStream
Verifies that the given type is a valid connection stream.
template validateConnectionStream(T)
;
A valid connection stream type must implement all methods of the ConnectionStream
interface.
Inheriting form ConnectionStream
is not strictly necessary, which also enables struct types
to be considered as stream implementations.