tox_binary_io
pub fn gen_error( _buf: (&mut [u8], usize), error: u32) -> Result<(&mut [u8], usize), GenError>
Generator that returns specified error.