Sudo rm -rf or Trashcan: Which is better for SSD health?
Both options (as well as any other user-level way of deleting files) will have the same result at the end: the directory entry of the file will be removed and any disk blocks used by the file will be marked as free (details depend on file system used). So there is no difference at all on device level.