pub struct InstanceStatus {
pub runtime_id: RuntimeId,
pub state: InstanceState,
pub nodes: Vec<NodeId>,
}Expand description
The InstanceStatus provides information about the data flow instance.
It details:
- from which runtime this information comes from (through its identifier),
- the state of the data flow instance,
- the list of nodes (through their identifier) the runtime manages — and thus for which the state applies.
This information is what is displayed by the zfctl tool when requesting the status of a data flow instance.
Fields§
§runtime_id: RuntimeIdThe identifier of the runtime this information comes from.
state: InstanceStateThe state of the data flow instance — on this runtime.
nodes: Vec<NodeId>The nodes managed by this runtime, for which the state applies.
Trait Implementations§
Source§impl Debug for InstanceStatus
impl Debug for InstanceStatus
Source§impl<'de> Deserialize<'de> for InstanceStatus
impl<'de> Deserialize<'de> for InstanceStatus
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
Auto Trait Implementations§
impl Freeze for InstanceStatus
impl RefUnwindSafe for InstanceStatus
impl Send for InstanceStatus
impl Sync for InstanceStatus
impl Unpin for InstanceStatus
impl UnwindSafe for InstanceStatus
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