Struct rsonpath_lib::error::UnsupportedFeatureError
source · 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 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.
Trait Implementations§
source§impl Debug for UnsupportedFeatureError
impl Debug for UnsupportedFeatureError
source§impl Display for UnsupportedFeatureError
impl Display for UnsupportedFeatureError
source§impl Error for UnsupportedFeatureError
impl Error for UnsupportedFeatureError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<UnsupportedFeatureError> for CompilerError
impl From<UnsupportedFeatureError> for CompilerError
source§fn from(source: UnsupportedFeatureError) -> Self
fn from(source: UnsupportedFeatureError) -> Self
Converts to this type from the input type.
source§impl From<UnsupportedFeatureError> for EngineError
impl From<UnsupportedFeatureError> for EngineError
source§fn from(source: UnsupportedFeatureError) -> Self
fn from(source: UnsupportedFeatureError) -> Self
Converts to this type from the input type.