pub struct SchedulePeriodic<T: Timer>{
pub key: T::Key,
pub delay: T::Instant,
pub period: T::Duration,
pub msg: T::Message,
}Fields§
§key: T::Key§delay: T::Instant§period: T::Duration§msg: T::MessageTrait Implementations§
Source§impl<T: Clone + Timer> Clone for SchedulePeriodic<T>
impl<T: Clone + Timer> Clone for SchedulePeriodic<T>
Source§fn clone(&self) -> SchedulePeriodic<T>
fn clone(&self) -> SchedulePeriodic<T>
Returns a copy 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 moreAuto Trait Implementations§
impl<T> Freeze for SchedulePeriodic<T>
impl<T> RefUnwindSafe for SchedulePeriodic<T>where
<T as Timer>::Message: Sized + RefUnwindSafe,
<T as Timer>::Key: RefUnwindSafe,
<T as Timer>::Instant: RefUnwindSafe,
<T as Timer>::Duration: RefUnwindSafe,
impl<T> Send for SchedulePeriodic<T>
impl<T> Sync for SchedulePeriodic<T>
impl<T> Unpin for SchedulePeriodic<T>
impl<T> UnwindSafe for SchedulePeriodic<T>where
<T as Timer>::Message: Sized + UnwindSafe,
<T as Timer>::Key: UnwindSafe,
<T as Timer>::Instant: UnwindSafe,
<T as Timer>::Duration: UnwindSafe,
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