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 for VerifierOptions
impl PartialEq for VerifierOptions
impl Eq for VerifierOptions
impl StructuralPartialEq for VerifierOptions
Auto Trait Implementations§
impl Freeze for VerifierOptions
impl RefUnwindSafe for VerifierOptions
impl Send for VerifierOptions
impl Sync for VerifierOptions
impl Unpin for VerifierOptions
impl UnwindSafe for VerifierOptions
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