Skip to main content

Run

Type Alias Run 

Source
pub type Run<S> = fn(&mut S, &Value) -> Result<Value, <S as Host>::Error>;
Expand description

Command body. Returns the host’s own error type (see Host::Error), so command tables written against an app’s Result alias port unchanged.