Struct capnp::serialize::NoAllocSegmentTableInfo
source · pub struct NoAllocSegmentTableInfo {
pub segments_count: usize,
pub segment_table_length_bytes: usize,
pub total_segments_length_bytes: usize,
}
Expand description
Information about a message read from its segment table.
Fields§
§segments_count: usize
The number of segments in the message.
segment_table_length_bytes: usize
The number of bytes in the segment table.
total_segments_length_bytes: usize
The total number of bytes in all segments of the message.
Auto Trait Implementations§
impl Freeze for NoAllocSegmentTableInfo
impl RefUnwindSafe for NoAllocSegmentTableInfo
impl Send for NoAllocSegmentTableInfo
impl Sync for NoAllocSegmentTableInfo
impl Unpin for NoAllocSegmentTableInfo
impl UnwindSafe for NoAllocSegmentTableInfo
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