pub fn to_program(self) -> Result<(Program, Vec<u8>), VMError> {
        match self {
            Predicate::Program(p, s) => Ok((p, s)),
            _ => Err(VMError::TypeNotProgram),
        }
    }
/// Downcasts the predicate to a program.
Downcasts the predicate to a program.
Downcasts the predicate to a program .
pub fn to_program(self) -> Result<(Program, Vec<u8>), VMError> {
        match self {
            Predicate::Program(p, s) => Ok((p, s)),
            _ => Err(VMError::TypeNotProgram),
        }
    }
pub fn to_program ( self ) -> Result < ( Program , Vec < u8 > ) , VMError > { match self { Predicate :: Program ( p , s ) => Ok ( ( p , s ) ) , _ => Err ( VMError :: TypeNotProgram ) , } }
Downcasts the predicate to a program.
Downcasts the predicate to a program .
self
self