This reference describes unreleased code on main; no release documents it yet.

rlmesh::Reader

structPreviewuse rlmesh::Reader;[source]

A shared observation reader, resolved once against a connected contract.

struct Reader

new

associated function[source]
fn new(adapter: a::Adapter, roles: Vec<String>) -> Self

Construct a reader with its resolved adapter and roles.

roles

method[source]
fn roles(&self) -> &[String]

Roles extracted by this reader, in declaration order.

call

method[source]
fn call(&self, observation: &Value) -> Result<Metadata>

Invoke this callable.

Trait implementations

  • impl Clone for Reader