Skip to content
YosoiDocs

SurfaceRead

yosoi::surface::model::SurfaceRead

pub trait SurfaceRead

Common pure reading boundary. Pixel materialization and live effects remain capabilities.

Source: crates/yosoi/src/surface/model.rs:219

fn descriptor(&self) -> &yosoi::surface::model::Descriptor

Describes the source, representation, and operations actually supported.

Source: crates/yosoi/src/surface/model.rs:221

fn observation(&self) -> &yosoi::surface::model::Observation

Borrows immutable observation metadata.

Source: crates/yosoi/src/surface/model.rs:223

fn read(&self, request: &yosoi::surface::model::ReadRequest) -> Result<yosoi::surface::model::ReadResult, yosoi::SurfaceError>

Reads bounded evidence without granting or restoring action authority.

Source: crates/yosoi/src/surface/model.rs:227

fn root_reference(&self) -> yosoi::surface::model::Reference

Returns an address of the representation’s full scope.

Source: crates/yosoi/src/surface/model.rs:225