summaryrefslogtreecommitdiff
path: root/src/ops/traits.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-08 04:57:44 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-08 04:57:44 -0600
commitca4e327eb3eb16214a0ede03cc16349aa907c428 (patch)
tree2734c0ec8c2727ebb20f89c2440e1227199e8f2a /src/ops/traits.rs
parentc50a3d09120ee4a0eefa8269eaf53350428f242c (diff)
Add missing open flags
Diffstat (limited to 'src/ops/traits.rs')
-rw-r--r--src/ops/traits.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ops/traits.rs b/src/ops/traits.rs
index d710264..e445687 100644
--- a/src/ops/traits.rs
+++ b/src/ops/traits.rs
@@ -248,6 +248,20 @@ impl<'o, O: Operation<'o>> Reply<'o, O> {
O::force_direct_io(self)
}
+ pub fn non_seekable(&mut self)
+ where
+ O: ReplyOpen<'o>,
+ {
+ O::non_seekable(self)
+ }
+
+ pub fn is_stream(&mut self)
+ where
+ O: ReplyOpen<'o>,
+ {
+ O::is_stream(self)
+ }
+
pub fn not_found_for(self, ttl: Ttl) -> Done<'o>
where
O: ReplyFound<'o>,