pub(crate) struct OpenedFile {
pub(crate) path: String,
pub(crate) cached_content: Option<Vec<u8>>,
pub(crate) read_spill: Option<Vec<u8>>,
pub(crate) bulk_base: u64,
pub(crate) bulk_len: usize,
pub(crate) opened_at: (i64, u32),
pub(crate) accessed_at: (i64, u32),
}Fields§
§path: String§cached_content: Option<Vec<u8>>§read_spill: Option<Vec<u8>>§bulk_base: u64Server-side base of the optional bulk ring (0 = none).
bulk_len: usize§opened_at: (i64, u32)(sec, nsec) when the handle was opened (reported as ctime).
accessed_at: (i64, u32)(sec, nsec) of the last read / readdir (reported as atime).
Implementations§
Auto Trait Implementations§
impl Forget for OpenedFile
impl Freeze for OpenedFile
impl Move for OpenedFile
impl RefUnwindSafe for OpenedFile
impl Send for OpenedFile
impl Sync for OpenedFile
impl Unpin for OpenedFile
impl UnsafeUnpin for OpenedFile
impl UnwindSafe for OpenedFile
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