class DeviceFlag
Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
|DeviceFlag| is strict, hence is guaranteed to only contain
members defined in the FIDL schema when receiving it in a message.
Sending unknown members will fail at runtime.
Public Members
static DeviceFlag kReadonly
static DeviceFlag kRemovable
static DeviceFlag kTrimSupport
static DeviceFlag kFuaSupport
static DeviceFlag kZstdDecompressionSupport
static DeviceFlag kBarrierSupport
static DeviceFlag kMask
Public Methods
void DeviceFlag ()
Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
void DeviceFlag (uint32_t value)
Constructs an instance of |DeviceFlag| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 136 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
uint32_t operator unsigned int ()
Defined at line 145 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
bool operator bool ()
Defined at line 146 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
bool operator== (const DeviceFlag & other)
Defined at line 147 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
bool operator!= (const DeviceFlag & other)
Defined at line 148 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
std::optional<DeviceFlag> TryFrom (uint32_t value)
Constructs an instance of |DeviceFlag| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 162 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag TruncatingUnknown (uint32_t value)
Constructs an instance of |DeviceFlag| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag operator~ ()
Defined at line 192 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag operator| (const DeviceFlag & other)
Defined at line 196 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag operator& (const DeviceFlag & other)
Defined at line 201 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag operator^ (const DeviceFlag & other)
Defined at line 206 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
DeviceFlag operator- (const DeviceFlag & other)
Defined at line 211 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
void operator|= (const DeviceFlag & other)
Defined at line 216 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
void operator&= (const DeviceFlag & other)
Defined at line 221 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
void operator^= (const DeviceFlag & other)
Defined at line 226 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h
void operator-= (const DeviceFlag & other)
Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/common_types.h