pub struct CurrentParkResume { /* private fields */ }Expand description
Terminal scheduler information returned after a prepared park resumes.
Implementations§
Source§impl CurrentParkResume
impl CurrentParkResume
Sourcepub const fn generation(self) -> u64
pub const fn generation(self) -> u64
Returns the scheduler park generation completed by this transaction.
Sourcepub const fn deadline_expired(self) -> bool
pub const fn deadline_expired(self) -> bool
Reports whether an armed task deadline physically expired before cleanup.
Sourcepub const fn disposition(self) -> CurrentParkDisposition
pub const fn disposition(self) -> CurrentParkDisposition
Returns whether this park switched out or was cancelled before blocking.
Sourcepub const fn was_notified_before_block(self) -> bool
pub const fn was_notified_before_block(self) -> bool
Reports whether a scheduler notification cancelled schedule-out.
Trait Implementations§
Source§impl Clone for CurrentParkResume
impl Clone for CurrentParkResume
Source§fn clone(&self) -> CurrentParkResume
fn clone(&self) -> CurrentParkResume
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 CurrentParkResume
Source§impl Debug for CurrentParkResume
impl Debug for CurrentParkResume
impl Eq for CurrentParkResume
Source§impl PartialEq for CurrentParkResume
impl PartialEq for CurrentParkResume
impl StructuralPartialEq for CurrentParkResume
Auto Trait Implementations§
impl Freeze for CurrentParkResume
impl RefUnwindSafe for CurrentParkResume
impl Send for CurrentParkResume
impl Sync for CurrentParkResume
impl Unpin for CurrentParkResume
impl UnsafeUnpin for CurrentParkResume
impl UnwindSafe for CurrentParkResume
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