pub struct LogChunk {
pub seq: i64,
pub stream: StreamKind,
pub content: String,
pub ts_unix_ns: Option<i64>,
}Expand description
One log chunk. content may hold multiple lines or a partial line —
callers buffer and split on \n themselves.
Fields§
§seq: i64§stream: StreamKind§content: String§ts_unix_ns: Option<i64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogChunk
impl RefUnwindSafe for LogChunk
impl Send for LogChunk
impl Sync for LogChunk
impl Unpin for LogChunk
impl UnsafeUnpin for LogChunk
impl UnwindSafe for LogChunk
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