it's both, depends on whether the node you're pinning to is configured to announce its CIDs on a public DHT, private DHT, or none at all. the hardest things in computer science is naming things... you're looking for a rust crate to pin aka publish those CIDs?