Trust this computer - what is shared? Apologies if this has been asked before, but when you trust a computer, what data is shared?

I'm on iOS 8 and have been plugging my personal phone into my work PC for charging. I click "trust" because I thought if I clicked "don't trust" it wouldn't charge.

It says data, contacts, and other things of that nature are shared when clicking "Trust." Apple seems pretty vague with "other things." My question is, is it possible that my text messages are synced to my work computer when I hit "trust"? If so, can my employer read them? I tried looking online but couldn't find anything about text data being stored on a PC computer after clicking "Trust."

I only ask because I've been considering leaving my company and texted a friend about it. Thanks!
Unless you explicitly backed up your iPhone to your work PC using iTunes (or ran some other type of program like Macroplant's iExplorer), you're probably fine. Tapping the "Trust" button does allow a computer to access an iPhone's information, but doesn't initiate any particular kind of access.

For more information, see 'Trust This Computer' alert on iPhone, iPad, or iPod touch.

Let me know if this helps.