diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-06-12 10:11:06 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-07-02 12:33:05 +0000 |
commit | 544cb6bcda8654747e2de3d67c25182f3850ab2c (patch) | |
tree | bf72d04500aa85762c4f1b6b4b80153d17077831 /p9 | |
parent | f57267d7e998ffec48794723b188b35489acfeec (diff) | |
download | crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar.gz crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar.bz2 crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar.lz crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar.xz crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.tar.zst crosvm-544cb6bcda8654747e2de3d67c25182f3850ab2c.zip |
Make lots of things Debug
Diffstat (limited to 'p9')
-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, |