Same-sex sexual activity is not illegal in Rwanda, but is frowned on by locals. LGBT+ travellers can experience discrimination and abuse, including from local authorities.
There are no specific anti-discrimination laws that protect LGBT+ individuals in Rwanda. Read more advice for LGBT+ travellers.
FWIW, the UK government claims crime is low in Rwanda.
https://www.gov.uk/foreign-travel-advice/rwanda/safety-and-security
Don’t be lgbt though:
And guess why some of those asylum seekers are fleeing their homelands…