pub struct ShutdownEvent {
pub id: usize,
}
Expand description
Operator shutdown.
Fields§
§id: usize
Worker-unique identifier for the operator, linkable to the identifiers in OperatesEvent
.
Trait Implementations§
Source§impl Clone for ShutdownEvent
impl Clone for ShutdownEvent
Source§fn clone(&self) -> ShutdownEvent
fn clone(&self) -> ShutdownEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShutdownEvent
impl Debug for ShutdownEvent
Source§impl<'de> Deserialize<'de> for ShutdownEvent
impl<'de> Deserialize<'de> for ShutdownEvent
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<ShutdownEvent> for TimelyEvent
impl From<ShutdownEvent> for TimelyEvent
Source§fn from(v: ShutdownEvent) -> TimelyEvent
fn from(v: ShutdownEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for ShutdownEvent
impl Hash for ShutdownEvent
Source§impl Ord for ShutdownEvent
impl Ord for ShutdownEvent
Source§fn cmp(&self, other: &ShutdownEvent) -> Ordering
fn cmp(&self, other: &ShutdownEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShutdownEvent
impl PartialEq for ShutdownEvent
Source§impl PartialOrd for ShutdownEvent
impl PartialOrd for ShutdownEvent
Source§impl Serialize for ShutdownEvent
impl Serialize for ShutdownEvent
impl Eq for ShutdownEvent
impl StructuralPartialEq for ShutdownEvent
Auto Trait Implementations§
impl Freeze for ShutdownEvent
impl RefUnwindSafe for ShutdownEvent
impl Send for ShutdownEvent
impl Sync for ShutdownEvent
impl Unpin for ShutdownEvent
impl UnwindSafe for ShutdownEvent
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)