Struct risc0_zkvm::SessionInfo
source · pub struct SessionInfo {
pub segments: Vec<SegmentInfo>,
pub journal: Journal,
pub exit_code: ExitCode,
}
Expand description
Provides information about the result of execution.
Fields§
§segments: Vec<SegmentInfo>
The number of user cycles for each segment.
journal: Journal
The data publicly committed by the guest program.
exit_code: ExitCode
The ExitCode of the session.
Trait Implementations§
source§impl Clone for SessionInfo
impl Clone for SessionInfo
source§fn clone(&self) -> SessionInfo
fn clone(&self) -> SessionInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnwindSafe for SessionInfo
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