pub type SourceResult<T> = Result<T, String>;Expand description
Source-side fallible result. Errors are user-facing
strings the host echoes verbatim. Wrapping in
Result<...,String> rather than a typed error keeps the
WIT mirror (Phase 7) trivial – plugin-emitted errors
cross the boundary as strings.
Aliased Type§
pub enum SourceResult<T> {
Ok(T),
Err(String),
}