liblisa::oracle

Trait OracleSource

pub trait OracleSource {
    type Oracle;

    // Required method
    fn start(&self) -> Vec<Self::Oracle>;
}
Expand description

Provides oracles.

Required Associated Types§

type Oracle

The type of the oracle this source can provide.

Required Methods§

fn start(&self) -> Vec<Self::Oracle>

Starts one or more new oracles. Only starts multiple oracles if this is as efficent as starting a single.

For example, the x86-64 oracle uses a 2:1 mapping of 2 shared memory queues on the host going to the same observation VM. This means that any time a VM is started, two new oracles are available.

Implementors§