pub enum RuleDecodeError {
UnknownVariant,
ParseError(RuleParseError),
}
Variants§
UnknownVariant
ParseError(RuleParseError)
Trait Implementations§
Source§impl Debug for RuleDecodeError
impl Debug for RuleDecodeError
Source§impl Display for RuleDecodeError
impl Display for RuleDecodeError
Source§impl Error for RuleDecodeError
impl Error for RuleDecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<RuleDecodeError> for EditTransactionError
impl From<RuleDecodeError> for EditTransactionError
Source§fn from(source: RuleDecodeError) -> Self
fn from(source: RuleDecodeError) -> Self
Converts to this type from the input type.
Source§impl From<RuleParseError> for RuleDecodeError
impl From<RuleParseError> for RuleDecodeError
Source§fn from(x: RuleParseError) -> Self
fn from(x: RuleParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuleDecodeError
impl PartialEq for RuleDecodeError
impl Eq for RuleDecodeError
impl StructuralPartialEq for RuleDecodeError
Auto Trait Implementations§
impl Freeze for RuleDecodeError
impl RefUnwindSafe for RuleDecodeError
impl Send for RuleDecodeError
impl Sync for RuleDecodeError
impl Unpin for RuleDecodeError
impl UnwindSafe for RuleDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more