Function atomic_lib::client::fetch_resource[][src]

pub fn fetch_resource(
    subject: &str,
    store: &impl Storelike
) -> AtomicResult<Resource>

Fetches a resource, makes sure its subject matches. Checks the datatypes for the Values. Ignores all atoms where the subject is different. WARNING: Calls store methods, and is called by store methods, might get stuck in a loop!