pub enum ErrorTraceDetail {
VectorElement {
index: usize,
position: usize,
},
TableField {
field_name: &'static str,
position: usize,
},
UnionVariant {
variant: &'static str,
position: usize,
},
}
Expand description
Traces the location of data errors. Not populated for Dos detecting errors. Useful for MissingRequiredField and Utf8Error in particular, though the other errors should not be producible by correct flatbuffers implementations.
Variants§
Trait Implementations§
Source§impl Clone for ErrorTraceDetail
impl Clone for ErrorTraceDetail
Source§fn clone(&self) -> ErrorTraceDetail
fn clone(&self) -> ErrorTraceDetail
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorTraceDetail
impl Debug for ErrorTraceDetail
Source§impl PartialEq for ErrorTraceDetail
impl PartialEq for ErrorTraceDetail
impl Eq for ErrorTraceDetail
impl StructuralPartialEq for ErrorTraceDetail
Auto Trait Implementations§
impl Freeze for ErrorTraceDetail
impl RefUnwindSafe for ErrorTraceDetail
impl Send for ErrorTraceDetail
impl Sync for ErrorTraceDetail
impl Unpin for ErrorTraceDetail
impl UnwindSafe for ErrorTraceDetail
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