Enum jujutsu_lib::revset::RevsetParseError
source · [−]pub enum RevsetParseError {
SyntaxError(Error<Rule>),
NoSuchFunction(String),
InvalidFunctionArguments {
name: String,
message: String,
},
}Variants
SyntaxError(Error<Rule>)
NoSuchFunction(String)
InvalidFunctionArguments
Trait Implementations
sourceimpl Debug for RevsetParseError
impl Debug for RevsetParseError
sourceimpl Display for RevsetParseError
impl Display for RevsetParseError
sourceimpl Error for RevsetParseError
impl Error for RevsetParseError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error<Rule>> for RevsetParseError
impl From<Error<Rule>> for RevsetParseError
sourceimpl PartialEq<RevsetParseError> for RevsetParseError
impl PartialEq<RevsetParseError> for RevsetParseError
sourcefn eq(&self, other: &RevsetParseError) -> bool
fn eq(&self, other: &RevsetParseError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RevsetParseError) -> bool
fn ne(&self, other: &RevsetParseError) -> bool
This method tests for !=.
impl Eq for RevsetParseError
impl StructuralEq for RevsetParseError
impl StructuralPartialEq for RevsetParseError
Auto Trait Implementations
impl RefUnwindSafe for RevsetParseError
impl Send for RevsetParseError
impl Sync for RevsetParseError
impl Unpin for RevsetParseError
impl UnwindSafe for RevsetParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more