pub struct SystemConfigurationBuilder {
pub(crate) _p: (),
}Expand description
A builder for system configuration settings.
The SystemConfigurationBuilder struct provides an interface for
configuring various system-wide settings before initialization.
This builder is typically used during system setup to configure fundamental
aspects like scheduling policies, memory management, and other system-wide
parameters.
Fields§
§_p: ()Implementations§
Source§impl SystemConfigurationBuilder
impl SystemConfigurationBuilder
Sourcepub fn set_scheduler(self, scheduler: impl Scheduler + 'static)
pub fn set_scheduler(self, scheduler: impl Scheduler + 'static)
Sets the system-wide scheduler.
This function configures the default scheduler with a custom scheduler
implementation. It is expected that the provided scheduler
implements the Scheduler trait and has a 'static lifetime,
meaning it must outlive all references.