template <>
class NaturalSyncClientImpl
Defined at line 911 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_fxfs::ProjectId::SetLimit> SetLimit (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::SetLimit> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::Clear> Clear (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::Clear> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::SetForNode> SetForNode (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::SetForNode> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::GetForNode> GetForNode (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::GetForNode> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::ClearForNode> ClearForNode (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::ClearForNode> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::List> List (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::List> & request)
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.
::fidl::Result< ::fuchsia_fxfs::ProjectId::Info> Info (const ::fidl::Request< ::fuchsia_fxfs::ProjectId::Info> & request)
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.