Shelter of or Shelter from?

“Since her brother had left, she’d felt a bit unguarded out there. The library was a little shelter of civilisation.”

The Midnight Library Matt Haig What is “shelter of civilization” meaning in this context


In this case the shelter of civilization was giving her shelter from the difficulties, protecting her from the uncivilized parts of the world. Similar to seeking shelter of a doorway or portico in the rain. Despite this author's sensible choice the more typical use is from. We seek shelter from the storm or from the terrible exterior elements such as they are.