From ca4e327eb3eb16214a0ede03cc16349aa907c428 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 8 Jan 2022 04:57:44 -0600 Subject: Add missing open flags --- src/ops/traits.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/ops/traits.rs') 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>, -- cgit v1.2.3