Struct timely::logging::ScheduleEvent [−][src]
Operator start or stop.
Fields
id: usize
Worker-unique identifier for the operator, linkable to the identifiers in OperatesEvent
.
start_stop: StartStop
Start
if the operator is starting, Stop
if it is stopping.
activity is true if it looks like some useful work was performed during this call (data was
read or written, notifications were requested / delivered)
Implementations
impl ScheduleEvent
[src]
pub fn start(id: usize) -> Self
[src]
Creates a new start scheduling event.
pub fn stop(id: usize) -> Self
[src]
Creates a new stop scheduling event and reports whether work occurred.
Trait Implementations
impl Abomonation for ScheduleEvent
[src]
unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>
[src]
fn extent(&self) -> usize
[src]
unsafe fn exhume<'a, 'b>(
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
[src]
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
impl Clone for ScheduleEvent
[src]
fn clone(&self) -> ScheduleEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScheduleEvent
[src]
impl<'de> Deserialize<'de> for ScheduleEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ScheduleEvent
[src]
impl From<ScheduleEvent> for TimelyEvent
[src]
fn from(v: ScheduleEvent) -> TimelyEvent
[src]
impl Hash for ScheduleEvent
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ScheduleEvent
[src]
fn cmp(&self, other: &ScheduleEvent) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ScheduleEvent> for ScheduleEvent
[src]
fn eq(&self, other: &ScheduleEvent) -> bool
[src]
fn ne(&self, other: &ScheduleEvent) -> bool
[src]
impl PartialOrd<ScheduleEvent> for ScheduleEvent
[src]
fn partial_cmp(&self, other: &ScheduleEvent) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for ScheduleEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ScheduleEvent
[src]
impl StructuralPartialEq for ScheduleEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScheduleEvent
impl Send for ScheduleEvent
impl Sync for ScheduleEvent
impl Unpin for ScheduleEvent
impl UnwindSafe for ScheduleEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
impl<T> Data for T where
T: 'static + Send + Sync + Any + Abomonation,
[src]
T: 'static + Send + Sync + Any + Abomonation,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> ExchangeData for T where
T: Data + Data,
[src]
T: Data + Data,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ProgressEventTimestamp for T where
T: Data + Any + Debug,
[src]
T: Data + Any + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,