pub struct UnifiedBufferStats {
pub text_buffer_capacity: usize,
pub binary_buffer_capacity: usize,
pub json_parse_buffer_capacity: usize,
pub json_serialize_buffer_capacity: usize,
pub json_large_buffer_capacity: usize,
pub string_format_buffer_capacity: usize,
pub text_buffer_len: usize,
pub binary_buffer_len: usize,
pub json_parse_buffer_len: usize,
pub json_serialize_buffer_len: usize,
pub json_large_buffer_len: usize,
pub string_format_buffer_len: usize,
}Expand description
Statistics for unified buffer usage
Fields§
§text_buffer_capacity: usizeThe capacity of the text buffer.
binary_buffer_capacity: usizeThe capacity of the binary buffer.
json_parse_buffer_capacity: usizeThe capacity of the JSON parse buffer.
json_serialize_buffer_capacity: usizeThe capacity of the JSON serialize buffer.
json_large_buffer_capacity: usizeThe capacity of the large JSON buffer.
string_format_buffer_capacity: usizeThe capacity of the string format buffer.
text_buffer_len: usizeThe length of the text buffer.
binary_buffer_len: usizeThe length of the binary buffer.
json_parse_buffer_len: usizeThe length of the JSON parse buffer.
json_serialize_buffer_len: usizeThe length of the JSON serialize buffer.
json_large_buffer_len: usizeThe length of the large JSON buffer.
string_format_buffer_len: usizeThe length of the string format buffer.
Trait Implementations§
Source§impl Clone for UnifiedBufferStats
impl Clone for UnifiedBufferStats
Source§fn clone(&self) -> UnifiedBufferStats
fn clone(&self) -> UnifiedBufferStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UnifiedBufferStats
impl RefUnwindSafe for UnifiedBufferStats
impl Send for UnifiedBufferStats
impl Sync for UnifiedBufferStats
impl Unpin for UnifiedBufferStats
impl UnwindSafe for UnifiedBufferStats
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