diff options
Diffstat (limited to 'p9/src/server.rs')
-rw-r--r-- | p9/src/server.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/p9/src/server.rs b/p9/src/server.rs index 957923d..3574619 100644 --- a/p9/src/server.rs +++ b/p9/src/server.rs @@ -101,6 +101,7 @@ const MAX_MESSAGE_SIZE: u32 = ::std::u16::MAX as u32; // 32-bit number chosen by the client. Most messages sent by clients include a fid on which to // operate. The fid in a Tattach message represents the root of the file system tree that the client // is allowed to access. A client can create more fids by walking the directory tree from that fid. +#[derive(Debug)] struct Fid { path: Box<Path>, metadata: fs::Metadata, @@ -200,6 +201,7 @@ fn join_path<P: AsRef<Path>, R: AsRef<Path>>( Ok(buf) } +#[derive(Debug)] pub struct Server { root: Box<Path>, msize: u32, |