Skip to main content

validate_stream_exec

Function validate_stream_exec 

Source
pub fn validate_stream_exec(field: &str, exec: &StreamExec) -> ValidationResult
Expand description

A StreamExec is runnable: a non-empty argv, a selector that identifies something, and a parseable timeout. Shared by the backup source and the restore target so both reject the same mistakes with the same words.