pub type BinResult<T> = Result<T, Error>;
Expand description
A specialized Result
type for binrw operations.
Aliased Type§
enum BinResult<T> {
Ok(T),
Err(Error),
}
Variants§
Trait Implementations§
source§impl<T> ContextExt for BinResult<T>
impl<T> ContextExt for BinResult<T>
source§fn with_context<Frame: Into<BacktraceFrame>>(self, frame: Frame) -> Self
fn with_context<Frame: Into<BacktraceFrame>>(self, frame: Frame) -> Self
Adds a new context frame to the error, consuming the original error.