Struct flatbuffers::VerifierOptions[][src]

pub struct VerifierOptions {
    pub max_depth: usize,
    pub max_tables: usize,
    pub max_apparent_size: usize,
    pub ignore_missing_null_terminator: bool,
}

Fields

max_depth: usize

Maximum depth of nested tables allowed in a valid flatbuffer.

max_tables: usize

Maximum number of tables allowed in a valid flatbuffer.

max_apparent_size: usize

Maximum “apparent” size of the message if the Flatbuffer object DAG is expanded into a tree.

ignore_missing_null_terminator: bool

Ignore errors where a string is missing its null terminator. This is mostly a problem if the message will be sent to a client using old c-strings.

Trait Implementations

impl Clone for VerifierOptions[src]

impl Debug for VerifierOptions[src]

impl Default for VerifierOptions[src]

impl Eq for VerifierOptions[src]

impl PartialEq<VerifierOptions> for VerifierOptions[src]

impl StructuralEq for VerifierOptions[src]

impl StructuralPartialEq for VerifierOptions[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.