Turret rails will need some special rule to them to allow cargo transfer, hard to say what exactly considering that officially, mining turrets don't exist yet. (I know that you can already make them)
Docking arms would have the load/unload rail where you dock things to, and the docking arm...