fidl_fuchsia_fxfsTrait ProjectIdProxyInterface
Source pub trait ProjectIdProxyInterface: Send + Sync {
type SetLimitResponseFut: Future<Output = Result<ProjectIdSetLimitResult, Error>> + Send;
type ClearResponseFut: Future<Output = Result<ProjectIdClearResult, Error>> + Send;
type SetForNodeResponseFut: Future<Output = Result<ProjectIdSetForNodeResult, Error>> + Send;
type GetForNodeResponseFut: Future<Output = Result<ProjectIdGetForNodeResult, Error>> + Send;
type ClearForNodeResponseFut: Future<Output = Result<ProjectIdClearForNodeResult, Error>> + Send;
type ListResponseFut: Future<Output = Result<ProjectIdListResult, Error>> + Send;
type InfoResponseFut: Future<Output = Result<ProjectIdInfoResult, Error>> + Send;
// Required methods
fn set_limit(
&self,
project_id: u64,
bytes: u64,
nodes: u64,
) -> Self::SetLimitResponseFut;
fn clear(&self, project_id: u64) -> Self::ClearResponseFut;
fn set_for_node(
&self,
node_id: u64,
project_id: u64,
) -> Self::SetForNodeResponseFut;
fn get_for_node(&self, node_id: u64) -> Self::GetForNodeResponseFut;
fn clear_for_node(&self, node_id: u64) -> Self::ClearForNodeResponseFut;
fn list(&self, token: Option<&ProjectIterToken>) -> Self::ListResponseFut;
fn info(&self, project_id: u64) -> Self::InfoResponseFut;
}