pub struct FollowState { /* private fields */ }Implementations§
Source§impl FollowState
impl FollowState
pub fn new(path: PathBuf, offset: u64) -> Self
pub fn offset(&self) -> u64
pub fn pending_len(&self) -> usize
pub fn truncation_detected(&self, len: u64) -> bool
pub fn reset_for_truncation(&mut self)
pub fn reset_for_reopen(&mut self)
Auto Trait Implementations§
impl Freeze for FollowState
impl RefUnwindSafe for FollowState
impl Send for FollowState
impl Sync for FollowState
impl Unpin for FollowState
impl UnsafeUnpin for FollowState
impl UnwindSafe for FollowState
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