Trait little::Execute
[−]
[src]
pub trait Execute<'a, V> { type Stream: Read; fn execute(&'a self, V) -> Self::Stream; fn get_id<'r>(&'r self) -> &'r str; fn identify_env(&self) -> Fingerprint; }
Executes compiled blob and converts input value to output stream.
Associated Types
type Stream: Read
Required Methods
fn execute(&'a self, V) -> Self::Stream
Run this executable.
fn get_id<'r>(&'r self) -> &'r str
Get executable's id.
fn identify_env(&self) -> Fingerprint
Get environment fingerprint required by executable.
Implementors
impl<'a, V: LittleValue + 'a> Execute<'a, V> for Executable<'a, V>
impl<'a, V: Debug> Execute<'a, V> for Executable