Trait AsResult
xio_common
pub trait AsResult: Sized { fn as_result(self) -> Result<Self>; }
fn as_result(self) -> Result<Self>
impl<R> AsResult for R where R: Sized + HasErrorCode,