[][src]Trait partial_io::quickcheck_types::GenError

pub trait GenError: Clone + Default + Send {
    fn gen_error<G: Gen>(&mut self, g: &mut G) -> Option<ErrorKind>;
}

Represents a way to generate io::ErrorKind instances.

See the module level documentation for more.

Required methods

fn gen_error<G: Gen>(&mut self, g: &mut G) -> Option<ErrorKind>

Optionally generate an io::ErrorKind instance.

Loading content...

Implementors

impl GenError for GenInterrupted[src]

impl GenError for GenInterruptedWouldBlock[src]

impl GenError for GenNoErrors[src]

impl GenError for GenWouldBlock[src]

Loading content...