Trait mica_hl::MicaLanguageResultExt
source · [−]pub trait MicaLanguageResultExt<T> {
fn mica_language(self) -> Result<T, LanguageErrorKind>;
}
Expand description
Extensions for converting Result
s into a mica-language
FFI-friendly structure.
Required Methods
sourcefn mica_language(self) -> Result<T, LanguageErrorKind>
fn mica_language(self) -> Result<T, LanguageErrorKind>
Maps the error in the result to a LanguageErrorKind
.