class AdvisoryLockRequest

Defined at line 3169 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

Public Methods

void AdvisoryLockRequest (Storage_ storage)
void AdvisoryLockRequest ()

Defined at line 3174 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

void AdvisoryLockRequest (AdvisoryLockRequest && )

Defined at line 3175 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

void AdvisoryLockRequest (const AdvisoryLockRequest & other)
AdvisoryLockRequest & operator= (AdvisoryLockRequest && )

Defined at line 3176 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

AdvisoryLockRequest & operator= (const AdvisoryLockRequest & other)
bool operator== (const AdvisoryLockRequest & other)
bool operator!= (const AdvisoryLockRequest & other)
bool IsEmpty ()
const std::optional< ::fuchsia_io::AdvisoryLockType> & type ()

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

::std::optional< ::fuchsia_io::AdvisoryLockType> & type ()

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

AdvisoryLockRequest & type (std::optional< ::fuchsia_io::AdvisoryLockType> value)

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

const std::optional< ::fuchsia_io::AdvisoryLockRange> & range ()

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

::std::optional< ::fuchsia_io::AdvisoryLockRange> & range ()

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

AdvisoryLockRequest & range (std::optional< ::fuchsia_io::AdvisoryLockRange> value)

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

const std::optional<bool> & wait ()

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

::std::optional<bool> & wait ()

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

AdvisoryLockRequest & wait (std::optional<bool> value)

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

void AdvisoryLockRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits