Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Plan.validate

Check every step before a run can change tmux state.

Source and package
Qualified name
libtmux::plan::Plan::validate
Module
plan
Declared in
Plan
Package
libtmux
Source
crates/libtmux/src/plan.rs
pub fn validate(&self) -> Result<(), PlanValidationError>

Description#

Errors

Returns an error when a slot names an absent or non-earlier step, when that step does not produce the required tmux object, or when a step's own arguments cannot render as one tmux command -- such as SendKeys carrying literal text together with named keys.

Guides#

Pages that discuss validate.

Esc

Type to search.

Reference previewOpen reference