Struct o1vm::preimage_oracle::PreImageOracle
source · pub struct PreImageOracle {
pub cmd: Command,
pub oracle_client: RW,
pub oracle_server: RW,
pub hint_client: RW,
pub hint_server: RW,
}
Fields§
§cmd: Command
§oracle_client: RW
§oracle_server: RW
§hint_client: RW
§hint_server: RW
Implementations§
source§impl PreImageOracle
impl PreImageOracle
pub fn create(hp_opt: &Option<HostProgram>) -> PreImageOracle
pub fn start(&mut self) -> Child
Trait Implementations§
source§impl PreImageOracleT for PreImageOracle
impl PreImageOracleT for PreImageOracle
Auto Trait Implementations§
impl !RefUnwindSafe for PreImageOracle
impl Send for PreImageOracle
impl Sync for PreImageOracle
impl Unpin for PreImageOracle
impl !UnwindSafe for PreImageOracle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more