Trait IntoErr
libsugar::named_into
pub trait IntoErr<T>: Sized { pub fn err(self) -> Result<T, Self> { ... } }
pub fn err(self) -> Result<T, Self>
impl<T, E> IntoErr<T> for E