Satisfiable

Trait Satisfiable 

Source
pub trait Satisfiable {
    // Required method
    fn is_satisfied_by(self, data: &[u8]) -> Result<(), Error>;
}
Expand description

Programs using binary (or other unserialized) data must implement this. This is the most barebones trait for programs.

Required Methods§

Source

fn is_satisfied_by(self, data: &[u8]) -> Result<(), Error>

Indicates that the data satisfies the constraint.

Implementors§