Module risc0_zkvm::guest::env
source · Expand description
Functions for interacting with the host environment.
Structs
- Provides a FdReader which can read from any file descriptor
- Provides a FdWriter which can write to any file descriptor.
Traits
- Reads and deserializes objects
- Serializes and writes objects.
Functions
- Serialize the given data and commit it to the journal.
- Commit the given slice to the journal.
- Return the number of processor cycles that have occured since the guest began.
- Return a writer for the JOURNAL.
- Print a message to the debug console.
- Pause the execution of the zkvm.
- Read private data from the host and deserializes it.
- Read a slice from the host.
- Exhanges slices of plain old data with the host.
- Return a writer for STDERR.
- Reaturn a reader for the standard input
- Return a writer for STDOUT.
- Exchange data with the host.
- Serialize the given data and write it to the STDOUT of the zkVM.
- Write the given slice to the STDOUT of the zkVM.