pub enum ParkEvent {
Park(Option<Duration>),
Unpark,
}
Expand description
Records the starting and stopping of an operator.
Variants§
Implementations§
Trait Implementations§
source§impl Abomonation for ParkEvent
impl Abomonation for ParkEvent
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 PartialEq for ParkEvent
impl PartialEq for ParkEvent
source§impl PartialOrd for ParkEvent
impl PartialOrd for ParkEvent
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ParkEvent
impl StructuralPartialEq for ParkEvent
Auto Trait Implementations§
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