We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a4f095 commit 018262cCopy full SHA for 018262c
tower-cartesi/src/response.rs
@@ -30,6 +30,12 @@ impl Response {
30
});
31
}
32
33
+ pub fn add_notice(&mut self, payload: &[u8]) {
34
+ self.outputs.push(Output::Notice {
35
+ payload: payload.to_vec(),
36
+ });
37
+ }
38
+
39
pub fn finish_message(&self) -> Finish {
40
match self.status {
41
Status::Accept => Finish::accept(),
0 commit comments