fn bus_replica_share_to_rpc(
    request: &ShareReplica,
) -> rpc::mayastor::ShareReplicaRequest {
    let request = request.clone();
    rpc::mayastor::ShareReplicaRequest {
        uuid: request.uuid.into(),
        share: request.protocol as i32,
    }
}
/// convert a message bus replica share to an rpc replica share
convert a message bus replica share to an rpc replica share
convert a message bus replica share to an rpc replica share
fn bus_replica_share_to_rpc(
    request: &ShareReplica,
) -> rpc::mayastor::ShareReplicaRequest {
    let request = request.clone();
    rpc::mayastor::ShareReplicaRequest {
        uuid: request.uuid.into(),
        share: request.protocol as i32,
    }
}
fn bus_replica_share_to_rpc ( request : & ShareReplica , ) -> rpc :: mayastor :: ShareReplicaRequest { let request = request . clone ( ) ; rpc :: mayastor :: ShareReplicaRequest { uuid : request . uuid . into ( ) , share : request . protocol as i32 , } }
convert a message bus replica share to an rpc replica share
convert a message bus replica share to an rpc replica share
request
&ShareReplica