Enum flatbuffers::ErrorTraceDetail[][src]

pub enum ErrorTraceDetail {
    VectorElement {
        index: usize,
        position: usize,
    },
    TableField {
        field_name: &'static str,
        position: usize,
    },
    UnionVariant {
        variant: &'static str,
        position: usize,
    },
}

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

VectorElement
Show fields

Fields of VectorElement

index: usizeposition: usize
TableField
Show fields

Fields of TableField

field_name: &'static strposition: usize
UnionVariant
Show fields

Fields of UnionVariant

variant: &'static strposition: usize

Trait Implementations

impl Clone for ErrorTraceDetail[src]

impl Debug for ErrorTraceDetail[src]

impl Eq for ErrorTraceDetail[src]

impl PartialEq<ErrorTraceDetail> for ErrorTraceDetail[src]

impl StructuralEq for ErrorTraceDetail[src]

impl StructuralPartialEq for ErrorTraceDetail[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.