Struct flatbuffers::VerifierOptions
source · 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§
source§impl Clone for VerifierOptions
impl Clone for VerifierOptions
source§fn clone(&self) -> VerifierOptions
fn clone(&self) -> VerifierOptions
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 VerifierOptions
impl Debug for VerifierOptions
source§impl Default for VerifierOptions
impl Default for VerifierOptions
source§impl PartialEq<VerifierOptions> for VerifierOptions
impl PartialEq<VerifierOptions> for VerifierOptions
source§fn eq(&self, other: &VerifierOptions) -> bool
fn eq(&self, other: &VerifierOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.