Skip to content

Trait command::Validate

zaun_community_protocol::command::Validate · Trait

pub trait Validate { … }

State-free checks of one body.

fn validate(&self) -> Result<(), BodyError>;

Checks the protocol limits, ranges and spec rules that need no community state.

The first violated rule.

Full rustdoc page