Made some progress towards effectful programs
This commit is contained in:
@@ -31,7 +31,7 @@ impl Supports<RunCommand> for ReadStreamCmd {
|
||||
hand: Box<dyn orchid_base::ReqHandle<'a> + '_>,
|
||||
req: RunCommand,
|
||||
) -> io::Result<orchid_base::Receipt<'a>> {
|
||||
let ret = match self.hand.call(ReadReq(self.limit.clone())).await {
|
||||
let ret = match self.hand.call(ReadReq { limit: self.limit.clone() }).await {
|
||||
None => Err(mk_errv(
|
||||
is("Atom is not readable").await,
|
||||
format!("Expected a readable stream handle, found {}", fmt(&self.hand).await),
|
||||
|
||||
Reference in New Issue
Block a user