pub struct DecodingOptions {
pub max_array_length: usize,
pub max_byte_string_length: usize,
pub max_string_length: usize,
pub max_depth: usize,
pub max_allocation_bytes: usize,
}Expand description
Allocation and recursion limits for one UA Binary message.
Fields§
§max_array_length: usize§max_byte_string_length: usize§max_string_length: usize§max_depth: usize§max_allocation_bytes: usizeTotal backing storage allowed for values decoded from one message, including nested bodies.
Trait Implementations§
Source§impl Clone for DecodingOptions
impl Clone for DecodingOptions
Source§impl Debug for DecodingOptions
impl Debug for DecodingOptions
Auto Trait Implementations§
impl Forget for DecodingOptions
impl Freeze for DecodingOptions
impl Move for DecodingOptions
impl RefUnwindSafe for DecodingOptions
impl Send for DecodingOptions
impl Sync for DecodingOptions
impl Unpin for DecodingOptions
impl UnsafeUnpin for DecodingOptions
impl UnwindSafe for DecodingOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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