pub trait OrgChromiumSpaced {
    // Required methods
    fn get_free_disk_space(&self, path: &str) -> Result<i64, Error>;
    fn get_total_disk_space(&self, path: &str) -> Result<i64, Error>;
    fn get_root_device_size(&self) -> Result<i64, Error>;
    fn is_quota_supported(&self, path: &str) -> Result<bool, Error>;
    fn get_quota_current_space_for_uid(
        &self,
        path: &str,
        uid: u32
    ) -> Result<i64, Error>;
    fn get_quota_current_space_for_gid(
        &self,
        path: &str,
        gid: u32
    ) -> Result<i64, Error>;
    fn get_quota_current_space_for_project_id(
        &self,
        path: &str,
        project_id: u32
    ) -> Result<i64, Error>;
    fn get_quota_current_spaces_for_ids(
        &self,
        request: Vec<u8>
    ) -> Result<Vec<u8>, Error>;
    fn get_quota_overall_usage(&self, path: &str) -> Result<Vec<u8>, Error>;
    fn get_quota_overall_usage_pretty_print(
        &self,
        path: &str
    ) -> Result<String, Error>;
    fn set_project_id(
        &self,
        fd: OwnedFd,
        project_id: u32
    ) -> Result<Vec<u8>, Error>;
    fn set_project_inheritance_flag(
        &self,
        fd: OwnedFd,
        enable: bool
    ) -> Result<Vec<u8>, Error>;
}

Required Methods§

source

fn get_free_disk_space(&self, path: &str) -> Result<i64, Error>

source

fn get_total_disk_space(&self, path: &str) -> Result<i64, Error>

source

fn get_root_device_size(&self) -> Result<i64, Error>

source

fn is_quota_supported(&self, path: &str) -> Result<bool, Error>

source

fn get_quota_current_space_for_uid( &self, path: &str, uid: u32 ) -> Result<i64, Error>

source

fn get_quota_current_space_for_gid( &self, path: &str, gid: u32 ) -> Result<i64, Error>

source

fn get_quota_current_space_for_project_id( &self, path: &str, project_id: u32 ) -> Result<i64, Error>

source

fn get_quota_current_spaces_for_ids( &self, request: Vec<u8> ) -> Result<Vec<u8>, Error>

source

fn get_quota_overall_usage(&self, path: &str) -> Result<Vec<u8>, Error>

source

fn get_quota_overall_usage_pretty_print( &self, path: &str ) -> Result<String, Error>

source

fn set_project_id(&self, fd: OwnedFd, project_id: u32) -> Result<Vec<u8>, Error>

source

fn set_project_inheritance_flag( &self, fd: OwnedFd, enable: bool ) -> Result<Vec<u8>, Error>

Implementations on Foreign Types§

source§

impl<'a, T: BlockingSender, C: Deref<Target = T>> OrgChromiumSpaced for Proxy<'a, C>

source§

fn get_free_disk_space(&self, path: &str) -> Result<i64, Error>

source§

fn get_total_disk_space(&self, path: &str) -> Result<i64, Error>

source§

fn get_root_device_size(&self) -> Result<i64, Error>

source§

fn is_quota_supported(&self, path: &str) -> Result<bool, Error>

source§

fn get_quota_current_space_for_uid( &self, path: &str, uid: u32 ) -> Result<i64, Error>

source§

fn get_quota_current_space_for_gid( &self, path: &str, gid: u32 ) -> Result<i64, Error>

source§

fn get_quota_current_space_for_project_id( &self, path: &str, project_id: u32 ) -> Result<i64, Error>

source§

fn get_quota_current_spaces_for_ids( &self, request: Vec<u8> ) -> Result<Vec<u8>, Error>

source§

fn get_quota_overall_usage(&self, path: &str) -> Result<Vec<u8>, Error>

source§

fn get_quota_overall_usage_pretty_print( &self, path: &str ) -> Result<String, Error>

source§

fn set_project_id(&self, fd: OwnedFd, project_id: u32) -> Result<Vec<u8>, Error>

source§

fn set_project_inheritance_flag( &self, fd: OwnedFd, enable: bool ) -> Result<Vec<u8>, Error>

Implementors§