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: usizeMaximum depth of nested tables allowed in a valid flatbuffer.
max_tables: usizeMaximum number of tables allowed in a valid flatbuffer.
max_apparent_size: usizeMaximum “apparent” size of the message if the Flatbuffer object DAG is expanded into a tree.
ignore_missing_null_terminator: boolIgnore 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 Clone for VerifierOptions[src]fn clone(&self) -> VerifierOptions[src]
fn clone(&self) -> VerifierOptions[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for VerifierOptions[src]
impl Debug for VerifierOptions[src]impl Default for VerifierOptions[src]
impl Default for VerifierOptions[src]impl PartialEq<VerifierOptions> for VerifierOptions[src]
impl PartialEq<VerifierOptions> for VerifierOptions[src]fn eq(&self, other: &VerifierOptions) -> bool[src]
fn eq(&self, other: &VerifierOptions) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &VerifierOptions) -> bool[src]
fn ne(&self, other: &VerifierOptions) -> bool[src]This method tests for !=.
impl Eq for VerifierOptions[src]
impl StructuralEq for VerifierOptions[src]
impl StructuralPartialEq for VerifierOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for VerifierOptions
impl Send for VerifierOptions
impl Sync for VerifierOptions
impl Unpin for VerifierOptions
impl UnwindSafe for VerifierOptions
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more