pub struct LogChunk {
pub stream: LogStream,
pub timestamp: SystemTime,
pub bytes: Vec<u8>,
}Expand description
One chunk of streamed log output.
Fields§
§stream: LogStreamSource stream of the chunk.
timestamp: SystemTimeWall-clock timestamp reported by the runtime.
bytes: Vec<u8>Raw bytes of the chunk; may or may not end with a newline.
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