#[non_exhaustive]pub struct RpcDecodeReport {
pub accounted_bytes: usize,
pub raw_bytes: usize,
pub header_bytes: usize,
pub payload_bytes: usize,
pub query_cells: usize,
}Expand description
Work admitted before Prost or SDK receipt/result conversion allocates. Header charges include Vec geometric growth/minimum capacity and conservative map/portable-conversion storage. Payloads are charged twice for decoded and temporary validation copies. Caller-retained returned results, allocator slack, transport buffers and outgoing request storage are outside this scope.
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.accounted_bytes: usize§raw_bytes: usize§header_bytes: usize§payload_bytes: usize§query_cells: usizeTrait Implementations§
Source§impl Clone for RpcDecodeReport
impl Clone for RpcDecodeReport
impl Copy for RpcDecodeReport
Source§impl Debug for RpcDecodeReport
impl Debug for RpcDecodeReport
impl Eq for RpcDecodeReport
Source§impl PartialEq for RpcDecodeReport
impl PartialEq for RpcDecodeReport
impl StructuralPartialEq for RpcDecodeReport
Auto Trait Implementations§
impl Freeze for RpcDecodeReport
impl RefUnwindSafe for RpcDecodeReport
impl Send for RpcDecodeReport
impl Sync for RpcDecodeReport
impl Unpin for RpcDecodeReport
impl UnsafeUnpin for RpcDecodeReport
impl UnwindSafe for RpcDecodeReport
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