pub struct NodeMetadata {
pub slot: NodeSlot,
pub id: MetadataString,
pub source_default_name: MetadataString,
pub name: MetadataString,
pub namespace: MetadataString,
pub domain_id: u32,
pub code_managed: bool,
}Expand description
Recorded node declaration.
Fields§
§slot: NodeSlot§id: MetadataString§source_default_name: MetadataString§name: MetadataString§namespace: MetadataString§domain_id: u32§code_managed: boolDid this node’s OWN code register a lifecycle state machine while the probe ran it?
Set only by MetadataRecorder::observe_lifecycle_registration, i.e.
by the executor’s lifecycle funnel, never by an adapter declaring it.
false is “no registration was observed”, which is exactly the run-time
rule: a node with no machine is plain.
Trait Implementations§
Source§impl Clone for NodeMetadata
impl Clone for NodeMetadata
Source§fn clone(&self) -> NodeMetadata
fn clone(&self) -> NodeMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeMetadata
impl Debug for NodeMetadata
impl Eq for NodeMetadata
Source§impl PartialEq for NodeMetadata
impl PartialEq for NodeMetadata
impl StructuralPartialEq for NodeMetadata
Auto Trait Implementations§
impl Freeze for NodeMetadata
impl RefUnwindSafe for NodeMetadata
impl Send for NodeMetadata
impl Sync for NodeMetadata
impl Unpin for NodeMetadata
impl UnsafeUnpin for NodeMetadata
impl UnwindSafe for NodeMetadata
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