/// convert a message bus replica unshare to an rpc replica unshare
convert a message bus replica unshare to an rpc replica unshare
convert a message bus replica unshare to an rpc replica unshare
fn bus_replica_unshare_to_rpc(
    request: &UnshareReplica,
) -> rpc::mayastor::ShareReplicaRequest {
    let request = request.clone();
    rpc::mayastor::ShareReplicaRequest {
        uuid: request.uuid.into(),
        share: Protocol::Off as i32,
    }
}
fn bus_replica_unshare_to_rpc ( request : & UnshareReplica , ) -> rpc :: mayastor :: ShareReplicaRequest { let request = request . clone ( ) ; rpc :: mayastor :: ShareReplicaRequest { uuid : request . uuid . into ( ) , share : Protocol :: Off as i32 , } }
convert a message bus replica unshare to an rpc replica unshare
convert a message bus replica unshare to an rpc replica unshare
request
&UnshareReplica
<not_specific>