Function http_req::response::find_slice

source ·
pub fn find_slice<T>(data: &[T], e: &[T]) -> Option<usize>where
    [T]: PartialEq,
Expand description

Finds elements slice e inside slice data. Returns position of the end of first match.