pub enum NodeDeclError {
Metadata(NodeMetadataError),
MissingExport,
Runtime,
ExecutorFull,
UnknownPublisher,
}Expand description
Node declaration error.
Variants§
Metadata(NodeMetadataError)
Metadata recorder rejected the declaration.
MissingExport
Host/runtime discovery could not find nros::node! export.
Runtime
Generated runtime rejected the declaration.
ExecutorFull
The executor’s fixed callback-entry table is full — a timer /
subscription / service / action could not claim a slot (issue 0095).
Carries the capacity cause through the NodeError → NodeDeclError
collapse so the register seam can name NROS_EXECUTOR_MAX_CBS.
UnknownPublisher
A publish named an entity this component has no publisher for — the LOOKUP failed, nothing was ever handed to the transport.
issue 0736 — split out of Self::Runtime, which the publish path
returned for BOTH “the transport rejected the sample” and “there is no
such publisher”: lookup_publisher(...).unwrap_or(Err(Runtime)). Those
are different bugs in different layers with different fixes, and from a
serial console they were the same line. Exactly the conflation #572
removed one level out, where discarding the result made “the timer never
fired” and “every publish failed” the same observation.
Implementations§
Trait Implementations§
Source§impl Clone for NodeDeclError
impl Clone for NodeDeclError
Source§fn clone(&self) -> NodeDeclError
fn clone(&self) -> NodeDeclError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NodeDeclError
Source§impl Debug for NodeDeclError
impl Debug for NodeDeclError
impl Eq for NodeDeclError
Source§impl From<NodeDeclError> for ExecutorError
impl From<NodeDeclError> for ExecutorError
Source§fn from(e: NodeDeclError) -> Self
fn from(e: NodeDeclError) -> Self
Source§impl From<NodeMetadataError> for NodeDeclError
impl From<NodeMetadataError> for NodeDeclError
Source§fn from(value: NodeMetadataError) -> Self
fn from(value: NodeMetadataError) -> Self
Source§impl PartialEq for NodeDeclError
impl PartialEq for NodeDeclError
Source§fn eq(&self, other: &NodeDeclError) -> bool
fn eq(&self, other: &NodeDeclError) -> bool
self and other values to be equal, and is used by ==.