pub struct ExtractorNode { /* private fields */ }Expand description
The parameter-extractor node.
Implementations§
Source§impl ExtractorNode
impl ExtractorNode
pub fn from_doc(doc: &NodeDoc) -> Result<Self, ConfigError>
Trait Implementations§
Source§impl Debug for ExtractorNode
impl Debug for ExtractorNode
Source§impl Node for ExtractorNode
impl Node for ExtractorNode
Source§fn run(&self, ctx: NodeContext) -> BoxFuture<'_, NodeResult>
fn run(&self, ctx: NodeContext) -> BoxFuture<'_, NodeResult>
Execute the node. Dropping the returned future cancels the node.
Source§fn inputs(&self) -> Vec<Selector>
fn inputs(&self) -> Vec<Selector>
Selectors this node reads.
crate::graph::Graph::build rejects selectors
whose namespace is neither a node id nor sys / env / conversation
(catching typos at load time) and warns about references into other
container bodies. Return every selector the node may read, including
placeholders inside templates.Auto Trait Implementations§
impl Forget for ExtractorNode
impl Freeze for ExtractorNode
impl Move for ExtractorNode
impl RefUnwindSafe for ExtractorNode
impl Send for ExtractorNode
impl Sync for ExtractorNode
impl Unpin for ExtractorNode
impl UnsafeUnpin for ExtractorNode
impl UnwindSafe for ExtractorNode
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