class Session

Defined at line 20 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/markers.h

Represents a session with a block device.

This protocol encodes the underlying object's lifetime in both directions; the underlying object

is alive iff both ends of the protocol are open. That is:

- Closing the client end causes the object to be destroyed.

- Observing a closure of the server end indicates the object no longer exists.

The object can be destroyed synchronously using [`fuchsia.unknown/Closeable.Close`].

Public Members

static Openness kOpenness

Records