fn pool_slice(
        &self,
        subnet_id: SubnetId,
        stream: &Stream,
        from: StreamIndex,
        msg_count: usize,
        log: &ReplicaLogger,
    ) -> usize {
        let certified_slice = in_slice(stream, from, from, msg_count, log);
        let slice_size_bytes = UnpackedStreamSlice::try_from(certified_slice.clone())
            .unwrap()
            .count_bytes();
        pool_slice(&self.xnet_payload_builder, subnet_id, certified_slice);
        slice_size_bytes
    }
/// Pools the provided slice coming from a given subnet and returns its byte
/// size, as evaluated by `UnpackedStreamSlice::count_bytes()`.
Pools the provided slice coming from a given subnet and returns its byte
size, as evaluated by `UnpackedStreamSlice::count_bytes()`.
Pools the provided slice coming from a given subnet and returns its byte size as evaluated by ` UnpackedStreamSlice :: count_bytes () ` .
fn pool_slice(
        &self,
        subnet_id: SubnetId,
        stream: &Stream,
        from: StreamIndex,
        msg_count: usize,
        log: &ReplicaLogger,
    ) -> usize {
        let certified_slice = in_slice(stream, from, from, msg_count, log);
        let slice_size_bytes = UnpackedStreamSlice::try_from(certified_slice.clone())
            .unwrap()
            .count_bytes();
        pool_slice(&self.xnet_payload_builder, subnet_id, certified_slice);
        slice_size_bytes
    }
fn pool_slice ( & self , subnet_id : SubnetId , stream : & Stream , from : StreamIndex , msg_count : usize , log : & ReplicaLogger , ) -> usize { let certified_slice = in_slice ( stream , from , from , msg_count , log ) ; let slice_size_bytes = UnpackedStreamSlice :: try_from ( certified_slice . clone ( ) ) . unwrap ( ) . count_bytes ( ) ; pool_slice ( & self . xnet_payload_builder , subnet_id , certified_slice ) ; slice_size_bytes }
Pools the provided slice coming from a given subnet and returns its byte
size, as evaluated by `UnpackedStreamSlice::count_bytes()`.
Pools the provided slice coming from a given subnet and returns its byte size as evaluated by ` UnpackedStreamSlice :: count_bytes () ` .
&self
subnet_id
SubnetId
stream
&Stream
from
StreamIndex
msg_count
usize
log
&ReplicaLogger
&self
subnet_id
SubnetId
stream
&Stream
from
StreamIndex
msg_count
usize
log
&ReplicaLogger