class DirectoryAndToken

Defined at line 1305 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h

A handle to a directory and a token used to indicate when the client has

completed inspecting the directory. The server end will retain all resources,

such as subdirectories and files, within |directory| while |release_fence| remains open.

|release_fence| is used instead of observing the |directory| channel directly as it

is possible to clone and open new channels to the same directory.

Public Methods

void DirectoryAndToken (Storage_ storage)
void DirectoryAndToken (::fidl::ClientEnd< ::fuchsia_io::Directory> directory, ::zx::eventpair token)
void DirectoryAndToken ()

Default constructs a |DirectoryAndToken| only if all of its members are default constructible.

Defined at line 1315 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h

void DirectoryAndToken (DirectoryAndToken && )

Defined at line 1318 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h

const ::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()

`Directory` channel providing access to the directory. This channel should not be used

after `release_fence` is closed.

::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()

`Directory` channel providing access to the directory. This channel should not be used

after `release_fence` is closed.

DirectoryAndToken & directory (::fidl::ClientEnd< ::fuchsia_io::Directory> value)

`Directory` channel providing access to the directory. This channel should not be used

after `release_fence` is closed.

DirectoryAndToken & operator= (DirectoryAndToken && )

Defined at line 1319 of file fidling/gen/sdk/fidl/fuchsia.test.manager/fuchsia.test.manager/cpp/fidl/fuchsia.test.manager/cpp/natural_types.h

const ::zx::eventpair & token ()

An eventpair handle used to control the retention of the directory. When this handle is

closed, the directory is no longer retained.

::zx::eventpair & token ()

An eventpair handle used to control the retention of the directory. When this handle is

closed, the directory is no longer retained.

DirectoryAndToken & token (::zx::eventpair value)

An eventpair handle used to control the retention of the directory. When this handle is

closed, the directory is no longer retained.

void DirectoryAndToken (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits