pub struct FileStateEntry {
pub content: String,
pub timestamp: u64,
pub offset: Option<u64>,
pub limit: Option<u64>,
}Expand description
Cached state of a file at a point in time.
Fields§
§content: StringContent of the file
timestamp: u64Timestamp when the content was captured (epoch millis)
offset: Option<u64>Optional offset if this is a ranged read
limit: Option<u64>Optional limit if this is a ranged read
Trait Implementations§
Source§impl Clone for FileStateEntry
impl Clone for FileStateEntry
Source§fn clone(&self) -> FileStateEntry
fn clone(&self) -> FileStateEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileStateEntry
impl RefUnwindSafe for FileStateEntry
impl Send for FileStateEntry
impl Sync for FileStateEntry
impl Unpin for FileStateEntry
impl UnsafeUnpin for FileStateEntry
impl UnwindSafe for FileStateEntry
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