pub struct SchedulerDeadlineUpdate { /* private fields */ }Expand description
One generation-ordered publication from a CPU’s scheduler owner.
Implementations§
Source§impl SchedulerDeadlineUpdate
impl SchedulerDeadlineUpdate
Sourcepub const fn try_new(
generation: u64,
deadline: Option<MonotonicDeadline>,
) -> Option<Self>
pub const fn try_new( generation: u64, deadline: Option<MonotonicDeadline>, ) -> Option<Self>
Creates one publication after the owner has committed its local state.
Generation zero is reserved for an uninitialized consumer.
Sourcepub const fn generation(self) -> u64
pub const fn generation(self) -> u64
Returns the monotonically increasing per-CPU publication generation.
Sourcepub const fn deadline(self) -> Option<MonotonicDeadline>
pub const fn deadline(self) -> Option<MonotonicDeadline>
Returns the next scheduler-owned physical deadline, if one exists.
Trait Implementations§
Source§impl Clone for SchedulerDeadlineUpdate
impl Clone for SchedulerDeadlineUpdate
Source§fn clone(&self) -> SchedulerDeadlineUpdate
fn clone(&self) -> SchedulerDeadlineUpdate
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 SchedulerDeadlineUpdate
Source§impl Debug for SchedulerDeadlineUpdate
impl Debug for SchedulerDeadlineUpdate
impl Eq for SchedulerDeadlineUpdate
Source§impl PartialEq for SchedulerDeadlineUpdate
impl PartialEq for SchedulerDeadlineUpdate
impl StructuralPartialEq for SchedulerDeadlineUpdate
Auto Trait Implementations§
impl Freeze for SchedulerDeadlineUpdate
impl RefUnwindSafe for SchedulerDeadlineUpdate
impl Send for SchedulerDeadlineUpdate
impl Sync for SchedulerDeadlineUpdate
impl Unpin for SchedulerDeadlineUpdate
impl UnsafeUnpin for SchedulerDeadlineUpdate
impl UnwindSafe for SchedulerDeadlineUpdate
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