#[non_exhaustive]pub struct TxtReport {
pub long_strings: Vec<(String, usize)>,
pub total_bytes: usize,
}Available on crate feature
alloc only.Expand description
What check_txt found near the limits; nothing here stops a record.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.long_strings: Vec<(String, usize)>Keys whose string is over TXT_STRING_WARN bytes, with its length.
total_bytes: usizeThe record’s size on the wire.
Implementations§
Trait Implementations§
impl Eq for TxtReport
impl StructuralPartialEq for TxtReport
Auto Trait Implementations§
impl Freeze for TxtReport
impl RefUnwindSafe for TxtReport
impl Send for TxtReport
impl Sync for TxtReport
impl Unpin for TxtReport
impl UnsafeUnpin for TxtReport
impl UnwindSafe for TxtReport
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