Trait async_streamdata::reader::generic::EofCondition
source · pub trait EofCondition<Result> {
// Required method
fn is_eof(read_result: &Result) -> bool;
}
Expand description
Logic for determining whether an EOF condition was reached.
This trait may be subject to change if we discover cases where it makes sense to look
at Inner
in particular (its implementation details) to determine whether the EOF has
occured. This may be a thing for readers that know when to stop.