class ChangeValidationResult

Defined at line 821 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h

Public Methods

void ChangeValidationResult (ChangeValidationResult && other)
ChangeValidationResult & operator= (ChangeValidationResult && other)
bool IsUnknown ()
::fuchsia_net_filter::ChangeValidationResult::Tag Which ()
ChangeValidationResult WithOk (::fuchsia_net_filter::Empty val)
const ::fidl::internal::UnionMemberView<1, Storage_> ok ()
::fidl::internal::UnionMemberView<1, Storage_> ok ()
ChangeValidationResult & ok (::fuchsia_net_filter::Empty value)

The changes are valid.

ChangeValidationResult WithTooManyChanges (::fuchsia_net_filter::Empty val)
const ::fidl::internal::UnionMemberView<2, Storage_> too_many_changes ()
::fidl::internal::UnionMemberView<2, Storage_> too_many_changes ()
ChangeValidationResult & too_many_changes (::fuchsia_net_filter::Empty value)

More than [`MAX_COMMIT_SIZE`] pending changes were pushed before

being committed.

The pending changes that were pushed to the server *before* this

call remain and can be committed by calling `Commit`.

ChangeValidationResult WithErrorOnChange (::std::vector< ::fuchsia_net_filter::ChangeValidationError> val)
const ::fidl::internal::UnionMemberView<3, Storage_> error_on_change ()
::fidl::internal::UnionMemberView<3, Storage_> error_on_change ()
ChangeValidationResult & error_on_change (::std::vector< ::fuchsia_net_filter::ChangeValidationError> value)

At least one of the changes provided was invalid. In order to be

maximally informative, a vector of results is returned where each

result corresponds to the change at the same index.

NB: if any change in the batch pushed by the client is invalid,

*none* of the provided changes will be added to the server's set of

pending changes. In other words, this method is all-or-nothing:

either it succeeds and all changes in the batch are added to the

pending set, or it fails and none are.

void ChangeValidationResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kOk 1
kTooManyChanges 2
kErrorOnChange 3
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 832 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits