template <>

class WireSyncClientImpl

Defined at line 3234 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_fxfs::ProjectId>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::SetLimit> SetLimit (uint64_t project_id, uint64_t bytes, uint64_t nodes)

Set the limit in bytes and node count for an XFS project id. Setting limits lower than

current usage is accepted but may in the future prevent further increases. Returns

ZX_ERR_OUT_OF_RANGE if `project_id` is set to zero.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::Clear> Clear (uint64_t project_id)

Stop tracking a project id. This will return ZX_ERR_NOT_FOUND if the project isn't

currently tracked. It will succeed even if the project is still in use more by one or more

nodes.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::SetForNode> SetForNode (uint64_t node_id, uint64_t project_id)

Apply project id to a node_id from a GetAttrs call. This will return ZX_ERR_NOT_FOUND if

node doesn't exist, and ZX_ERR_OUT_OF_RANGE if `project_id` is set to zero.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::GetForNode> GetForNode (uint64_t node_id)

Get the project id based on a given node_id from a GetAttrs call.This will return

ZX_ERR_NOT_FOUND if the node doesn't exist, and a `project_id` of zero if one is not

currently applied.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::ClearForNode> ClearForNode (uint64_t node_id)

Remove any project id marker for a given node_id from a GetAttrs call. This will return

ZX_ERR_NOT_FOUND if the node doesn't exist, or success if the node is found to currently

have no project id applied to it.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::List> List (::fidl::ObjectView< ::fuchsia_fxfs::wire::ProjectIterToken> token)

Fetches project id numbers currently tracked with a limit or with non-zero usage from lowest

to highest. If `token` is null, start at the beginning, if `token` is populated with a

previously provided `next_token` the iteration continues where it left off. If there are

more projects to be listed then `next_token` will be populated, otherwise it will be null.

Allocates 32 bytes of request buffer on the stack. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_fxfs::ProjectId::Info> Info (uint64_t project_id)

Looks up the limit and usage for a tracked `project_id`. If the `project_id` does not have

a limit set, or non-zero usage it will return ZX_ERR_NOT_FOUND.

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.