incomplete in consumer

This commit is contained in:
Geoffroy Couprie 2015-02-19 23:09:13 +01:00
parent 744f489f3e
commit 077d1c1bdb

View File

@ -59,7 +59,7 @@ use internal::Err;
#[derive(Debug,PartialEq,Eq,Copy)]
pub enum ConsumerState {
Await,
//Incomplete,
Incomplete,
ConsumerDone,
ConsumerError(Err)
}
@ -111,6 +111,9 @@ pub trait Consumer {
println!("await");
acc.clear();
//acc.push_all(i);
},
Incomplete => {
println!("incomplete");
}
}
if eof { self.end(); }