#include "tensorstore/spec.h"
OpenMode tensorstore::Spec::open_mode() const;

Returns the mode with which the driver will be opened.

If not applicable, returns OpenMode::unknown.