Type Alias Result
Source pub type Result<T> = Result<T, TermError>;
Expand description
A type alias for Result<T, TermError>.
This is the standard Result type used throughout the Term library.
§Examples
ⓘuse term_guard::error::Result;
fn validate_data() -> Result<()> {
Ok(())
}
pub enum Result<T> {
Ok(T),
Err(TermError),
}
Contains the success value