Trait mines::ResultExt
[−]
[src]
pub trait ResultExt<T, E> { unsafe fn boom_ok(self) -> T; unsafe fn boom_err(self) -> E; }
boom
extensions to Result
.
Required Methods
unsafe fn boom_ok(self) -> T
boom
assertion of Ok
variant.
unsafe fn boom_err(self) -> E
boom
assertion of Err
variant.
Implementors
impl<T, E> ResultExt<T, E> for Result<T, E>