Trait ffsend_api::reader::ExactLengthReader
source · pub trait ExactLengthReader {
fn len(&self) -> Result<u64, Error>;
fn is_empty(&self) -> Result<bool, Error> { ... }
}
Expand description
A trait for readers, to get the exact length of a reader.