Skip to main content

apply

Function apply 

Source
pub fn apply(surface: &AgentSurface, value: Value) -> Result<Value, AppError>
Expand description

Applies surface to value, honouring the invariants documented above.

ยงErrors

Returns AppError::Usage when the request cannot be honoured as asked โ€” see gate for the three shapes that earns.