Trait command::Validate
zaun_community_protocol::command::Validate · Trait
pub trait Validate { … }State-free checks of one body.
Methods
Section titled “Methods”validate
Section titled “validate”fn validate(&self) -> Result<(), BodyError>;Checks the protocol limits, ranges and spec rules that need no community state.
Errors
Section titled “Errors”The first violated rule.