pub struct ShapeError {
pub state: Option<usize>,
pub detail: String,
}Expand description
Why a document could not be read as a trace of the model: the state, and what is wrong.
Fields§
§state: Option<usize>The state (0-based), or None for the document as a whole.
detail: StringWhat is wrong.
Trait Implementations§
Source§impl Clone for ShapeError
impl Clone for ShapeError
Source§impl Debug for ShapeError
impl Debug for ShapeError
impl Eq for ShapeError
Source§impl PartialEq for ShapeError
impl PartialEq for ShapeError
impl StructuralPartialEq for ShapeError
Auto Trait Implementations§
impl Forget for ShapeError
impl Freeze for ShapeError
impl Move for ShapeError
impl RefUnwindSafe for ShapeError
impl Send for ShapeError
impl Sync for ShapeError
impl Unpin for ShapeError
impl UnsafeUnpin for ShapeError
impl UnwindSafe for ShapeError
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