pub struct TruncationCompressor;Expand description
Brute-force Unicode truncation — keeps the longest prefix whose serialised
JSON form fits in target_bytes.
Trait Implementations§
Source§impl Debug for TruncationCompressor
impl Debug for TruncationCompressor
Source§impl Default for TruncationCompressor
impl Default for TruncationCompressor
Source§fn default() -> TruncationCompressor
fn default() -> TruncationCompressor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TruncationCompressor
impl RefUnwindSafe for TruncationCompressor
impl Send for TruncationCompressor
impl Sync for TruncationCompressor
impl Unpin for TruncationCompressor
impl UnsafeUnpin for TruncationCompressor
impl UnwindSafe for TruncationCompressor
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