pub type Result<T> = Result<T, CoreError>;Expand description
Result type for core operations, using the crate’s unified CoreError.
This type alias provides a convenient way to return results from core operations without having to specify the error type explicitly in every function signature.
§Examples
use ass_core::{Result, Script};
fn parse_script_safely(input: &str) -> Result<Script> {
Script::parse(input)
}Aliased Type§
pub enum Result<T> {
Ok(T),
Err(CoreError),
}