[−][src]Module cortex::helpers 
Helper structures and methods for Task
Structs
| LOADING_LINE_REGEX | "(Loading... file" message regex | 
| TaskProgress | In-progress task, with dispatch metadata | 
| TaskReport | Completed task, with its processing status and report messages | 
Enums
| NewTaskMessage | Enum for all types of reported messages for a given Task, as per the  | 
| TaskMessage | Enum for all types of reported messages for a given Task, as per the  | 
| TaskStatus | An enumeration of the expected task statuses | 
Functions
| generate_report | Generates a  | 
| parse_log | Parses a log string which follows the  | 
| prepare_input_stream | Returns an open file handle to the task's entry | 
| rand_in_range | Helper for generating a random i32 in a range, to avoid loading the rng crate + boilerplate | 
| random_mark | Generate a random integer useful for temporary DB marks | 
| utf_truncate | Utility functions, until they find a better place |