pub struct SessionId {
pub uuid: String,
}Expand description
Proof Session representation
Fields§
§uuid: StringSession UUID
Implementations§
Source§impl SessionId
impl SessionId
Sourcepub async fn status(&self, client: &Client) -> Result<SessionStatusRes, SdkErr>
pub async fn status(&self, client: &Client) -> Result<SessionStatusRes, SdkErr>
Fetches the current status of the Session
Sourcepub async fn logs(&self, client: &Client) -> Result<String, SdkErr>
pub async fn logs(&self, client: &Client) -> Result<String, SdkErr>
Fetches the zkvm guest logs for a session
After the Execution phase of proving is completed, you can use this method to download the logs of the zkvm guest. This is a merged log of stderr and stdout https://docs.rs/risc0-zkvm/latest/risc0_zkvm/struct.ExecutorEnvBuilder.html#method.stdout
It should contain the output of all writes to those file descriptors. But does NOT include output
from env::log
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionId
impl<'de> Deserialize<'de> for SessionId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionId
impl StructuralPartialEq for SessionId
Auto Trait Implementations§
impl Freeze for SessionId
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnwindSafe for SessionId
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