pub struct LookupResponse { /* private fields */ }Expand description
Response data from crate::AsyncFilesystem::lookup operation
Implementations§
Source§impl LookupResponse
impl LookupResponse
Sourcepub fn new(ttl: Duration, attr: FileAttr, generation: Generation) -> Self
pub fn new(ttl: Duration, attr: FileAttr, generation: Generation) -> Self
ttl is the time for which this response may be cached
attr is the attributes of the file
generation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LookupResponse
impl RefUnwindSafe for LookupResponse
impl Send for LookupResponse
impl Sync for LookupResponse
impl Unpin for LookupResponse
impl UnsafeUnpin for LookupResponse
impl UnwindSafe for LookupResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more