pub enum ParkEvent {
Park(Option<Duration>),
Unpark,
}
Expand description
Records the starting and stopping of an operator.
Variants§
Implementations§
Trait Implementations§
Source§impl Columnar for ParkEvent
impl Columnar for ParkEvent
Source§type Container = ParkEventContainer<<Option<Duration> as Columnar>::Container, <() as Columnar>::Container>
type Container = ParkEventContainer<<Option<Duration> as Columnar>::Container, <() as Columnar>::Container>
The type that stores the columnar representation. Read more
Source§fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
fn copy_from<'a>(&mut self, other: Ref<'a, Self>)
Repopulates
self
from a reference. Read moreSource§fn into_owned<'a>(other: Ref<'a, Self>) -> Self
fn into_owned<'a>(other: Ref<'a, Self>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.Source§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Converts a sequence of the references to the type into columnar form.
Source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Converts a sequence of the type into columnar form. Read more
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
Source§impl<'columnar, C0, C1> Push<&'columnar ParkEvent> for ParkEventContainer<C0, C1>
impl<'columnar, C0, C1> Push<&'columnar ParkEvent> for ParkEventContainer<C0, C1>
Source§impl<C0, C1> Push<ParkEvent> for ParkEventContainer<C0, C1>
impl<C0, C1> Push<ParkEvent> for ParkEventContainer<C0, C1>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more