Skip to main content

Profile

Trait Profile 

Source
pub trait Profile: 'static {
    const RING_ENTRIES: u32;
    const HYBRID_PARK: bool;
    const DEFER_TASKRUN: bool;
    const TASK_BUDGET: Option<usize>;
    const IDLE_PARK: Option<Duration>;
    const ACTIVE_WINDOW: Duration;
    const ACTIVE_PARK_TIMEOUT: Duration;
    const IDLE_PARK_TIMEOUT: Duration;
}

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§