pub trait Bundle<T, C> {
type Bundled;
// Required method
fn bundle(self, context: C) -> Result<T, Self::Bundled>;
}Expand description
Extension trait for bundling context with errors through Result types
pub trait Bundle<T, C> {
type Bundled;
// Required method
fn bundle(self, context: C) -> Result<T, Self::Bundled>;
}Extension trait for bundling context with errors through Result types