pub struct TimerRunResult { /* private fields */ }Expand description
Ordinary callback result with one scheduling proposal.
The registry validates proposals participating in scheduling against the configured policy. A winning exact reconciliation or terminal pending command discards the proposal before validation. Explicit invariant failure stops.
Implementations§
Source§impl TimerRunResult
impl TimerRunResult
Sourcepub const fn new(completion: TimerCompletion, directive: TimerDirective) -> Self
pub const fn new(completion: TimerCompletion, directive: TimerDirective) -> Self
Construct a result, forcing invariant failures to stop.
Sourcepub const fn completion(self) -> TimerCompletion
pub const fn completion(self) -> TimerCompletion
Return the completion classification and work count.
Sourcepub const fn directive(self) -> TimerDirective
pub const fn directive(self) -> TimerDirective
Return the post-run scheduling proposal.
Trait Implementations§
Source§impl Clone for TimerRunResult
impl Clone for TimerRunResult
impl Copy for TimerRunResult
Source§impl Debug for TimerRunResult
impl Debug for TimerRunResult
impl Eq for TimerRunResult
Source§impl PartialEq for TimerRunResult
impl PartialEq for TimerRunResult
impl StructuralPartialEq for TimerRunResult
Auto Trait Implementations§
impl Freeze for TimerRunResult
impl RefUnwindSafe for TimerRunResult
impl Send for TimerRunResult
impl Sync for TimerRunResult
impl Unpin for TimerRunResult
impl UnsafeUnpin for TimerRunResult
impl UnwindSafe for TimerRunResult
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