fn from(gossip_chunk_request: GossipChunkRequest) -> Self {
        Self {
            artifact_id: serialize(&gossip_chunk_request.artifact_id)
                .expect("Local value serialization should succeed"),
            chunk_id: gossip_chunk_request.chunk_id.get(),
            integrity_hash: serialize(&gossip_chunk_request.integrity_hash)
                .expect("Local value serialization should succeed"),
        }
    }
/// The function converts the given chunk request into the Protobuf
/// equivalent.
The function converts the given chunk request into the Protobuf
equivalent.
The function converts the given chunk request into the Protobuf equivalent .
fn from(gossip_chunk_request: GossipChunkRequest) -> Self {
        Self {
            artifact_id: serialize(&gossip_chunk_request.artifact_id)
                .expect("Local value serialization should succeed"),
            chunk_id: gossip_chunk_request.chunk_id.get(),
            integrity_hash: serialize(&gossip_chunk_request.integrity_hash)
                .expect("Local value serialization should succeed"),
        }
    }
fn from ( gossip_chunk_request : GossipChunkRequest ) -> Self { Self { artifact_id : serialize ( & gossip_chunk_request . artifact_id ) . expect ( " " ) , chunk_id : gossip_chunk_request . chunk_id . get ( ) , integrity_hash : serialize ( & gossip_chunk_request . integrity_hash ) . expect ( " " ) , } }
The function converts the given chunk request into the Protobuf
equivalent.
The function converts the given chunk request into the Protobuf equivalent .
gossip_chunk_request
GossipChunkRequest
gossip_chunk_request
GossipChunkRequest