diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-01-24 15:10:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-24 15:10:49 -0500 |
| commit | 5e32c5ea448563be91017d71bab060c8a6bd90fe (patch) | |
| tree | aa9e731b9f4b9f6bc28beab23e7575d43bc14653 /cli/ops/io.rs | |
| parent | 86726f88f1b6fd168fbd5b0d7e01b027cfc268ac (diff) | |
s/PinnedBuf/ZeroCopyBuf (#3782)
Diffstat (limited to 'cli/ops/io.rs')
| -rw-r--r-- | cli/ops/io.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/io.rs b/cli/ops/io.rs index 2a1455aca..410748ca4 100644 --- a/cli/ops/io.rs +++ b/cli/ops/io.rs @@ -182,7 +182,7 @@ where pub fn op_read( state: &ThreadSafeState, rid: i32, - zero_copy: Option<PinnedBuf>, + zero_copy: Option<ZeroCopyBuf>, ) -> Pin<Box<MinimalOp>> { debug!("read rid={}", rid); let zero_copy = match zero_copy { @@ -327,7 +327,7 @@ where pub fn op_write( state: &ThreadSafeState, rid: i32, - zero_copy: Option<PinnedBuf>, + zero_copy: Option<ZeroCopyBuf>, ) -> Pin<Box<MinimalOp>> { debug!("write rid={}", rid); let zero_copy = match zero_copy { |
