pub struct LogFollowSession { /* private fields */ }Expand description
Tail-style follow session over the active JSONL log and its rotation set.
Implementations§
Source§impl LogFollowSession
impl LogFollowSession
Sourcepub fn poll(&mut self) -> Result<LogSnapshot, QueryError>
pub fn poll(&mut self) -> Result<LogSnapshot, QueryError>
Polls for newly appended matching log records since the last call.
Sourcepub fn health(&self) -> QueryHealthReport
pub fn health(&self) -> QueryHealthReport
Returns the current query/follow health snapshot for this session.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFollowSession
impl RefUnwindSafe for LogFollowSession
impl Send for LogFollowSession
impl Sync for LogFollowSession
impl Unpin for LogFollowSession
impl UnsafeUnpin for LogFollowSession
impl UnwindSafe for LogFollowSession
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