split_at

Function split_at 

Source
pub fn split_at<T>(
    iter: Box<dyn Iterator<Item = Result<T, Error>>>,
    pred: fn(&T) -> Result<bool, Error>,
    maxsplit: i128,
    keep_separator: bool,
) -> Box<dyn Iterator<Item = Result<Vec<T>, Error>>>
where T: 'static,