From 982b2d03231b3e5abfb94445b1dec981000ffb17 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 28 Dec 2021 22:01:37 -0600 Subject: Rename TimeToLive as Ttl --- src/fuse/io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fuse/io.rs') diff --git a/src/fuse/io.rs b/src/fuse/io.rs index 823eb76..e3938d6 100644 --- a/src/fuse/io.rs +++ b/src/fuse/io.rs @@ -7,7 +7,7 @@ use std::{ ops::{ControlFlow, FromResidual, Try}, }; -use crate::{proto, FuseResult, Ino, TimeToLive, Timestamp}; +use crate::{proto, FuseResult, Ino, Ttl, Timestamp}; use super::{Done, Operation, Reply, Request}; @@ -26,7 +26,7 @@ pub enum Interruptible<'o, O: Operation<'o>, T> { pub trait Known { fn ino(&self) -> Ino; fn inode_type(&self) -> EntryType; - fn attrs(&self) -> (Attrs, TimeToLive); + fn attrs(&self) -> (Attrs, Ttl); fn unveil(self); } @@ -37,7 +37,7 @@ pub struct Entry { pub offset: u64, pub name: N, pub inode: K, - pub ttl: TimeToLive, + pub ttl: Ttl, } pub struct FsInfo(proto::StatfsOut); -- cgit v1.2.3