pub struct UnsupportedFeatureError { /* private fields */ }
Expand description
Error raised when rsonpath is asked to perform an operation that is currently unsupported. This may be either because the feature is in the works, or because it is not planned to ever be supported.
Implementations§
Source§impl UnsupportedFeatureError
impl UnsupportedFeatureError
Sourcepub fn large_json_depths() -> Self
pub fn large_json_depths() -> Self
Large JSON Depths feature – supporting JSON documents with nesting depth exceeding 255. Unsupported and not planned.
Sourcepub fn large_automaton_queries() -> Self
pub fn large_automaton_queries() -> Self
Large Automaton Queries feature – supporting queries that cause compiled DFAs to exceed 256 states. Unsupported and not planned.
Sourcepub fn multiple_selectors() -> Self
pub fn multiple_selectors() -> Self
Multiple Selector per Segment feature – supporting queries that contain a union of selectors per step. Unsupported and not planned (yet).
Sourcepub fn indexing_from_end() -> Self
pub fn indexing_from_end() -> Self
Indexing from End – supporting index and slice selectors that use from-end indexing. Unsupported and not planned (yet).
Sourcepub fn slice_selector() -> Self
pub fn slice_selector() -> Self
Slice Selector – supporting slice selectors. https://github.com/V0ldek/rsonpath/issues/152
Sourcepub fn slice_with_backward_step() -> Self
pub fn slice_with_backward_step() -> Self
Slice with Backward Step – supporting slice selectors that step backwards. Unsupported and not planned (yet).
Sourcepub fn filter_selector() -> Self
pub fn filter_selector() -> Self
Filter Selector – supporting filter selectors. https://github.com/V0ldek/rsonpath/issues/154
Sourcepub fn issue(&self) -> Option<usize>
pub fn issue(&self) -> Option<usize>
Returns the issue number on GitHub corresponding to the unsupported feature.
Is None
if the feature is not planned.
Sourcepub fn is_planned(&self) -> bool
pub fn is_planned(&self) -> bool
Whether the issue is planned to ever be supported.