pub type Result<T> = Result<T, Box<dyn ErrorTrait>>;Expand description
A std::result::Result with a Box<std::error::Error> as the error type.
This is used to return a bunch of errors early, including a limit being
reached, the buffer failed to be read from, or a string not being valid
UTF-8.
Aliased Type§
pub enum Result<T> {
Ok(T),
Err(Box<dyn Error>),
}