Trait puffin::execution::TraceRunner

source ·
pub trait TraceRunner {
    type PB: ProtocolBehavior;
    type R;
    type E;

    // Required method
    fn execute_config<T>(
        self,
        trace: T,
        with_reseed: bool,
    ) -> Result<Self::R, Self::E>
       where T: AsRef<Trace<<Self::PB as ProtocolBehavior>::ProtocolTypes>>;

    // Provided method
    fn execute<T>(self, trace: T) -> Result<Self::R, Self::E>
       where Self: Sized,
             T: AsRef<Trace<<Self::PB as ProtocolBehavior>::ProtocolTypes>> { ... }
}

Required Associated Types§

Required Methods§

source

fn execute_config<T>( self, trace: T, with_reseed: bool, ) -> Result<Self::R, Self::E>
where T: AsRef<Trace<<Self::PB as ProtocolBehavior>::ProtocolTypes>>,

Provided Methods§

source

fn execute<T>(self, trace: T) -> Result<Self::R, Self::E>
where Self: Sized, T: AsRef<Trace<<Self::PB as ProtocolBehavior>::ProtocolTypes>>,

Object Safety§

This trait is not object safe.

Implementors§