summaryrefslogtreecommitdiff
path: root/src/ops/traits.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-08 07:46:54 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-08 07:46:54 -0600
commit3f07297b0f4372e234ffe2b8bccc46312e9b68f8 (patch)
treeef4ceabf82e81c679b7be85d1b527e6a63ee0037 /src/ops/traits.rs
parentfffebe5facf7b88c89c7aaa9385aa845f161e6f1 (diff)
Move Ino, Ttl, Timestamp to crate::io
Diffstat (limited to 'src/ops/traits.rs')
-rw-r--r--src/ops/traits.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ops/traits.rs b/src/ops/traits.rs
index e445687..20f7378 100644
--- a/src/ops/traits.rs
+++ b/src/ops/traits.rs
@@ -1,8 +1,12 @@
use crate::{
- io::{Entry, FsInfo, Interruptible, Known, Mode, Stat},
- Done, Ino, Operation, Reply, Request, Ttl,
+ io::{Entry, FsInfo, Ino, Interruptible, Known, Mode, Stat, Ttl},
+ Done, Operation, Reply, Request,
};
+use super::make_entry;
+use bytes::BufMut;
+use std::{ffi::OsStr, os::unix::ffi::OsStrExt};
+
pub use super::{
dir::{ReplyEntries, ReplyFound},
entry::{RequestDevice, RequestLink, RequestTarget},
@@ -13,10 +17,6 @@ pub use super::{
xattr::ReplyXattrRead,
};
-use super::make_entry;
-use bytes::BufMut;
-use std::{ffi::OsStr, os::unix::ffi::OsStrExt};
-
pub trait RequestName<'o>: Operation<'o> {
fn name<'a>(request: &'a Request<'o, Self>) -> &'a OsStr;
}