[−][src]Module psyche_utils::bucket_strainer
Tools used to split data collection by their utility/category.
Structs
Bucket | Bucket strainer bucket that contains rule that scores items and collection of items that fallen into it on processing phase. |
BucketLimitRule | Bucket rule that scores |
BucketStrainer | Bucket strainer is a data collection processor that splits and sorts input data into buckets with rules that item must obey to fall into them. Items that does not obey any bucket rule, are leftovers returned by processing. |
ClosureRule | Bucket rule that applies score based on closure result. |
FixedScoreRule | Bucket rule that always gives specified score. |
Layer | Bucket strainer layer that contains buckets. |
MulRule | Bucket rule that multiply scores of all of its subrules. |
SumRule | Bucket rule that sum scores of all of its subrules. |
Traits
Rule | Trait used to tell how much successfuly bucket has to get incoming item. |