Constant INVALID_RANGE

Source
pub const INVALID_RANGE: Range<usize>;
Expand description

An invalid range (not supported)

This is used when an extractor that does not support ranges is used together with extractors that do, and range extraction is requested. Due to the design of the Falco plugin API, there must be a range for all the fields (or none of them), so we fill out the missing ranges with this value.

Note: you should not use this value in plugins yourself. If an extractor returns data that is not corresponding to any particular byte offset in the plugin payload, it should set the range to UNSPECIFIED_RANGE.