pub enum ParkEvent {
Park(Option<Duration>),
Unpark,
}
Expand description
Records the starting and stopping of an operator.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ParkEvent
impl<'de> Deserialize<'de> for ParkEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ParkEvent> for TimelyEvent
impl From<ParkEvent> for TimelyEvent
source§fn from(v: ParkEvent) -> TimelyEvent
fn from(v: ParkEvent) -> TimelyEvent
Converts to this type from the input type.
source§impl Ord for ParkEvent
impl Ord for ParkEvent
source§impl PartialOrd for ParkEvent
impl PartialOrd for ParkEvent
impl Eq for ParkEvent
impl StructuralPartialEq for ParkEvent
Auto Trait Implementations§
impl Freeze for ParkEvent
impl RefUnwindSafe for ParkEvent
impl Send for ParkEvent
impl Sync for ParkEvent
impl Unpin for ParkEvent
impl UnwindSafe for ParkEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)