separate out stream

This commit is contained in:
Martin Algesten
2018-06-30 13:47:37 +02:00
parent 3b249e0313
commit ff582b8c6f
7 changed files with 27 additions and 21 deletions

View File

@@ -74,8 +74,8 @@ impl Default for Payload {
}
pub struct SizedReader {
size: Option<usize>,
reader: Box<Read + 'static>,
pub size: Option<usize>,
pub reader: Box<Read + 'static>,
}
impl SizedReader {