Trait genet_sdk::io::Writer [−][src]
pub trait Writer: Send { fn new_worker(
&self,
ctx: &Context,
args: &str
) -> Result<Box<WriterWorker + 'static>, Box<Error + 'static>>; fn id(&self) -> &str; }
Writer trait.
Required Methods
fn new_worker(
&self,
ctx: &Context,
args: &str
) -> Result<Box<WriterWorker + 'static>, Box<Error + 'static>>
&self,
ctx: &Context,
args: &str
) -> Result<Box<WriterWorker + 'static>, Box<Error + 'static>>