#include "tensorstore/open_mode.h"
constexpr bool
tensorstore::IsModeExplicitlyConvertible(ReadWriteMode source,
                                         
ReadWriteMode target);

Checks if source is potentially compatible with target.