pub struct StateTableError<StorageT> {
pub kind: StateTableErrorKind<StorageT>,
pub pidx: PIdx<StorageT>,
}
Expand description
Any error from the Yacc parser returns an instance of this struct.
Fields§
§kind: StateTableErrorKind<StorageT>
§pidx: PIdx<StorageT>
Trait Implementations§
source§impl<StorageT: Debug> Debug for StateTableError<StorageT>
impl<StorageT: Debug> Debug for StateTableError<StorageT>
source§impl<StorageT> Display for StateTableError<StorageT>
impl<StorageT> Display for StateTableError<StorageT>
source§impl<StorageT: Debug> Error for StateTableError<StorageT>
impl<StorageT: Debug> Error for StateTableError<StorageT>
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()
Auto Trait Implementations§
impl<StorageT> Freeze for StateTableError<StorageT>where
StorageT: Freeze,
impl<StorageT> RefUnwindSafe for StateTableError<StorageT>where
StorageT: RefUnwindSafe,
impl<StorageT> Send for StateTableError<StorageT>where
StorageT: Send,
impl<StorageT> Sync for StateTableError<StorageT>where
StorageT: Sync,
impl<StorageT> Unpin for StateTableError<StorageT>where
StorageT: Unpin,
impl<StorageT> UnwindSafe for StateTableError<StorageT>where
StorageT: UnwindSafe,
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