fidl_fuchsia_fxfs

Trait 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;
}

Required Associated Types§

Required Methods§

Source

fn set_limit( &self, project_id: u64, bytes: u64, nodes: u64, ) -> Self::SetLimitResponseFut

Source

fn clear(&self, project_id: u64) -> Self::ClearResponseFut

Source

fn set_for_node( &self, node_id: u64, project_id: u64, ) -> Self::SetForNodeResponseFut

Source

fn get_for_node(&self, node_id: u64) -> Self::GetForNodeResponseFut

Source

fn clear_for_node(&self, node_id: u64) -> Self::ClearForNodeResponseFut

Source

fn list(&self, token: Option<&ProjectIterToken>) -> Self::ListResponseFut

Source

fn info(&self, project_id: u64) -> Self::InfoResponseFut

Implementors§