fidl_fuchsia_scheduler_deprecatedTrait ProfileProviderProxyInterface
Source pub trait ProfileProviderProxyInterface: Send + Sync {
type GetProfileResponseFut: Future<Output = Result<(i32, Option<Profile>), Error>> + Send;
type GetDeadlineProfileResponseFut: Future<Output = Result<(i32, Option<Profile>), Error>> + Send;
type GetCpuAffinityProfileResponseFut: Future<Output = Result<(i32, Option<Profile>), Error>> + Send;
type SetProfileByRoleResponseFut: Future<Output = Result<i32, Error>> + Send;
// Required methods
fn get_profile(
&self,
priority: u32,
name: &str,
) -> Self::GetProfileResponseFut;
fn get_deadline_profile(
&self,
capacity: u64,
deadline: u64,
period: u64,
name: &str,
) -> Self::GetDeadlineProfileResponseFut;
fn get_cpu_affinity_profile(
&self,
cpu_mask: &CpuSet,
) -> Self::GetCpuAffinityProfileResponseFut;
fn set_profile_by_role(
&self,
handle: Handle,
role: &str,
) -> Self::SetProfileByRoleResponseFut;
}