pub fn persist_state<Item, Next>(
buf: &mut Vec<Item>,
replay: bool,
next: Next,
) -> Persist<Next, &mut Vec<Item>>Available on crate feature
alloc only.Expand description
Creates a Persist using an external Vec state for buffering items.