pub struct SchedulerLayout { /* private fields */ }Expand description
Independent ready-slot and timer-cache bounds. Timer registrations beyond the realized cache remain live in the intrusive overflow.
Implementations§
Source§impl SchedulerLayout
impl SchedulerLayout
pub const DEFAULT: Self
pub const fn fixed<const READY: u32, const TIMER_CACHE: u32>() -> Self
pub const fn new(ready: usize, timer_cache_limit: usize) -> Option<Self>
pub const fn ready(self) -> ScheduleCapacity
pub const fn timer_cache_limit(self) -> ScheduleCapacity
pub const fn with_ready(self, ready: ScheduleCapacity) -> Self
pub const fn with_timer_cache_limit( self, timer_cache_limit: ScheduleCapacity, ) -> Self
Trait Implementations§
Source§impl Clone for SchedulerLayout
impl Clone for SchedulerLayout
Source§fn clone(&self) -> SchedulerLayout
fn clone(&self) -> SchedulerLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SchedulerLayout
Source§impl Debug for SchedulerLayout
impl Debug for SchedulerLayout
impl Eq for SchedulerLayout
Source§impl PartialEq for SchedulerLayout
impl PartialEq for SchedulerLayout
impl StructuralPartialEq for SchedulerLayout
Auto Trait Implementations§
impl Freeze for SchedulerLayout
impl RefUnwindSafe for SchedulerLayout
impl Send for SchedulerLayout
impl Sync for SchedulerLayout
impl Unpin for SchedulerLayout
impl UnsafeUnpin for SchedulerLayout
impl UnwindSafe for SchedulerLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more