rlmesh::Reader
A shared observation reader, resolved once against a connected contract.
struct ReaderAssociated functions
Methods
new
associated function[source]fn new(adapter: a::Adapter, roles: Vec<String>) -> SelfConstruct 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