summaryrefslogtreecommitdiff
path: root/src/ops/rw.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-05 07:37:31 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-05 07:37:31 -0600
commitfe2ec80b262e6457b896f23ec91e4fe9da4b8117 (patch)
tree662c5590405f894d144f3a63f9d5a0a210f3b558 /src/ops/rw.rs
parentce320da58d2917789815bc4dafe15a9b47a9df65 (diff)
Rename ReplyTail as ReplyState
Diffstat (limited to 'src/ops/rw.rs')
-rw-r--r--src/ops/rw.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ops/rw.rs b/src/ops/rw.rs
index d3f8afd..cf2e286 100644
--- a/src/ops/rw.rs
+++ b/src/ops/rw.rs
@@ -25,22 +25,22 @@ impl Sealed for Flush {}
impl<'o> Operation<'o> for Readlink {
type RequestBody = ();
- type ReplyTail = ();
+ type ReplyState = ();
}
impl<'o> Operation<'o> for Read {
type RequestBody = &'o proto::ReadIn;
- type ReplyTail = ();
+ type ReplyState = ();
}
impl<'o> Operation<'o> for Write {
type RequestBody = (&'o proto::WriteIn, &'o [u8]);
- type ReplyTail = WriteState;
+ type ReplyState = WriteState;
}
impl<'o> Operation<'o> for Flush {
type RequestBody = &'o proto::FlushIn;
- type ReplyTail = ();
+ type ReplyState = ();
}
impl<'o> ReplyGather<'o> for Readlink {}
@@ -85,7 +85,7 @@ impl<'o> RequestData<'o> for Write {
impl<'o> ReplyAll<'o> for Write {
fn all(reply: Reply<'o, Self>) -> Done<'o> {
- let size = reply.tail.size;
+ let size = reply.state.size;
reply.single(&proto::WriteOut {
size,
padding: Default::default(),