pub(crate) struct SummaryFrame<'a> {
pub(crate) frame_type: &'static str,
pub(crate) bytes_sent: usize,
pub(crate) missing_channels: &'a [u8],
}Expand description
Direct-mode summary frame sent after all CSV chunks are delivered.
Serializes as {"type":"summary","bytesSent":...,"missingChannels":[...]}.
Fields§
§frame_type: &'static strAlways EXPORT_FRAME_SUMMARY; serialized as type.
bytes_sent: usizeTotal CSV bytes sent, including the header line; serialized as bytesSent.
missing_channels: &'a [u8]Requested channels that produced no rows; serialized as missingChannels.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SummaryFrame<'a>
impl<'a> RefUnwindSafe for SummaryFrame<'a>
impl<'a> Send for SummaryFrame<'a>
impl<'a> Sync for SummaryFrame<'a>
impl<'a> Unpin for SummaryFrame<'a>
impl<'a> UnsafeUnpin for SummaryFrame<'a>
impl<'a> UnwindSafe for SummaryFrame<'a>
Blanket Implementations§
impl<T> Allocation for T
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