Skip to main content

OnIncompleteLine

Type Alias OnIncompleteLine 

pub type OnIncompleteLine = Box<dyn FnOnce(Vec<u8>) + Sync + Send>;
Available on crate features http and std only.
Expand description

Handler for the bytes of an unterminated trailing line, registered with EventDecoder::with_on_incomplete.

Aliased Type§

pub struct OnIncompleteLine(/* private fields */);