From 311b2a40213aa48131a189f99dc4258d354c0c78 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 24 Dec 2021 04:58:51 -0600 Subject: Fix old warnings --- src/client.rs | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'src/client.rs') diff --git a/src/client.rs b/src/client.rs index 9f036c3..e1fcc89 100644 --- a/src/client.rs +++ b/src/client.rs @@ -3,50 +3,3 @@ //! Usually, a kernel module or other OS component takes the role of the FUSE client. This module //! is a client-wise counterpart to the rest of `blown-fuse` API. So far, this only serves the //! purpose of having agnostic tests, but wrappers might be written in the future with it. - -/*use crate::{proto, FuseResult}; - -#[cfg(feature = "server")] -use crate::session; - -struct Client {} - -struct RequestContext<'a> { - client: &'a, - uid: Uid, - gid: Gid, - pid: Pid, -} - -impl Client { - pub fn context(&self, uid: Uid, gid: Gid, pid: Pid) -> RequestContext<'_> { - RequestContext { - client: &self, - uid, - gid, - pid, - } - } -} - -impl RequestContext<'_> { - pub async fn lookup(&self) -> FuseResult<> { - self.tail() - } -} - -struct Start {} - -impl Start { - pub async fn start(self) -> FuseResult { - - } -} - -#[cfg(feature = "server")] -pub fn channel() -> std::io::Result<(session::Start, self::Start)> { - let client_start = ; - let server_start = ; - - (client_stasrt, server_start) -}*/ -- cgit v1.2.3