pub struct TimerSchedule { /* private fields */ }Expand description
Remote scheduling request for a timer.
Implementations§
Source§impl TimerSchedule
impl TimerSchedule
pub fn new(handle: TimerHandle, deadline_ns: u64) -> Self
pub fn handle(&self) -> TimerHandle
pub fn deadline_ns(&self) -> u64
pub fn into_parts(self) -> (TimerHandle, u64)
Trait Implementations§
Source§impl Clone for TimerSchedule
impl Clone for TimerSchedule
Source§fn clone(&self) -> TimerSchedule
fn clone(&self) -> TimerSchedule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerSchedule
impl Debug for TimerSchedule
impl Copy for TimerSchedule
impl Send for TimerSchedule
impl Sync for TimerSchedule
Auto Trait Implementations§
impl Freeze for TimerSchedule
impl RefUnwindSafe for TimerSchedule
impl Unpin for TimerSchedule
impl UnwindSafe for TimerSchedule
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