pub type Result<T = (), E = Error> = Result<T, E>;
Like anyhow::Result, but defaults the Ok case to ().
anyhow::Result
Ok
()
You can use this as a replacement for std::result::Result as it functions exactly the same when supplied with 2 type arguments.
std::result::Result