class DeprecatedOpenResult

Defined at line 200 of file ../../src/storage/lib/vfs/cpp/vfs.h

Public Methods

template <typename T>
void DeprecatedOpenResult (T && v)

Forwards the constructor arguments into the underlying |std::variant|. This allows

|DeprecatedOpenResult| to be constructed directly from one of the variants, e.g.

DeprecatedOpenResult r = DeprecatedOpenResult::Error{ZX_ERR_ACCESS_DENIED};

Defined at line 229 of file ../../src/storage/lib/vfs/cpp/vfs.h

template <class Visitor>
decltype(visitor(std::declval<zx_status_t>())) visit (Visitor && visitor)

Applies the |visitor| function to the variant payload. It simply forwards the visitor into the

underlying |std::variant|. Returns the return value of |visitor|. Refer to C++ documentation

for |std::visit|.

Defined at line 235 of file ../../src/storage/lib/vfs/cpp/vfs.h

Ok & ok ()

Defined at line 239 of file ../../src/storage/lib/vfs/cpp/vfs.h

bool is_ok ()

Defined at line 240 of file ../../src/storage/lib/vfs/cpp/vfs.h

Error & error ()

Defined at line 242 of file ../../src/storage/lib/vfs/cpp/vfs.h

bool is_error ()

Defined at line 243 of file ../../src/storage/lib/vfs/cpp/vfs.h

Remote & remote ()

Defined at line 245 of file ../../src/storage/lib/vfs/cpp/vfs.h

bool is_remote ()

Defined at line 246 of file ../../src/storage/lib/vfs/cpp/vfs.h

Records