pub struct Timed<T> {
pub event: T,
pub timestamp: Instant,
pub interval: Option<Duration>,
}
Fields§
§event: T
§timestamp: Instant
§interval: Option<Duration>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Timed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Timed<T>where
T: RefUnwindSafe,
impl<T> Send for Timed<T>where
T: Send,
impl<T> Sync for Timed<T>where
T: Sync,
impl<T> Unpin for Timed<T>where
T: Unpin,
impl<T> UnwindSafe for Timed<T>where
T: 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