Expand description
DFIR’s operators
Structs§
- Operator
Constraints - An instance of this struct represents a single dfir operator.
- Operator
Write Output - The code generated and returned by a
OperatorConstraints::write_fn. - Write
Context Args - Context arguments provided to
OperatorConstraints::write_fn.
Enums§
- Delay
Type - The delay (soft barrier) type, for each input to an operator if needed.
- FloType
- Operator type for Flo semantics.
- Operator
Category - Operator categories, for docs.
- Persistence
- Persistence lifetimes:
'none,'tick,'static, or'mutable. - Port
List Spec - Specification of the named (or unnamed) ports for an operator’s inputs or outputs.
Constants§
- IDENTITY_
WRITE_ FN OperatorConstraints::write_fnfor unary identity operators.- NULL_
WRITE_ FN OperatorConstraints::write_fnfor the null operator - an operator that ignores all inputs and produces no output.- OPERATORS
- All DFIR operators.
- RANGE_0
- Convenience range: exactly zero.
- RANGE_1
- Convenience range: exactly one.
- RANGE_
ANY - Convenience range: zero or more (any number).
Traits§
- Range
Trait - An object-safe version of
RangeBounds.
Functions§
- find_
node_ op_ constraints - Find an operator by
GraphNode. - find_
op_ op_ constraints - Find an operator by an AST
Operator. - identity_
write_ iterator_ fn - Helper to write the
write_iteratorportion ofOperatorConstraints::write_fnoutput for unary identity operators. - null_
write_ iterator_ fn - Helper to write the
write_iteratorportion ofOperatorConstraints::write_fnoutput for the null operator - an operator that ignores all inputs and produces no output. - operator_
lookup - Get the operator lookup table, generating it if needed.
Type Aliases§
- WriteFn
- Type alias for
OperatorConstraints::write_fn’s type.