From e78c003bc555a5cb9396c5d65d3a9831507813de Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 28 Dec 2021 21:59:56 -0600 Subject: Expose Operation<'o> in the public API --- src/fuse/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fuse/mod.rs') diff --git a/src/fuse/mod.rs b/src/fuse/mod.rs index a4c9f06..5893d79 100644 --- a/src/fuse/mod.rs +++ b/src/fuse/mod.rs @@ -12,13 +12,13 @@ pub mod mount; pub mod session; mod private_trait { - pub trait Operation<'o> { - type RequestBody: crate::proto::Structured<'o>; - type ReplyTail; - } + pub trait Sealed {} } -use private_trait::Operation; +pub trait Operation<'o>: private_trait::Sealed { + type RequestBody: crate::proto::Structured<'o>; + type ReplyTail; +} pub type Op<'o, O = ops::Any> = (Request<'o, O>, Reply<'o, O>); -- cgit v1.2.3