pub struct ConfigEvalNode {
pub codec: Symbol,
pub source: ReadEvalSource,
pub requires: Vec<CapabilityName>,
pub allow: CapabilitySet,
pub expected_shape: Arc<dyn Shape>,
}Expand description
Parsed data carried by an explicit config/eval node.
Fields§
§codec: SymbolCodec used when the source is text or bytes.
source: ReadEvalSourceSource expression, text, or bytes admitted through the broker.
requires: Vec<CapabilityName>Capabilities the caller must already hold before eval can run.
allow: CapabilitySetMaximum capabilities the eval body may run with.
expected_shape: Arc<dyn Shape>Shape the evaluated result must match before it is merged.
Trait Implementations§
Source§impl Clone for ConfigEvalNode
impl Clone for ConfigEvalNode
Source§fn clone(&self) -> ConfigEvalNode
fn clone(&self) -> ConfigEvalNode
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ConfigEvalNode
impl !UnwindSafe for ConfigEvalNode
impl Freeze for ConfigEvalNode
impl Send for ConfigEvalNode
impl Sync for ConfigEvalNode
impl Unpin for ConfigEvalNode
impl UnsafeUnpin for ConfigEvalNode
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