[][src]Struct opcua_server::prelude::DecodingLimits

pub struct DecodingLimits {
    pub max_chunk_size: usize,
    pub max_string_length: usize,
    pub max_byte_string_length: usize,
    pub max_array_length: usize,
}

Fields

max_chunk_size: usize

Maximum size of a message chunk in bytes. 0 means no limit

max_string_length: usize

Maximum length in bytes (not chars!) of a string. 0 actually means 0, i.e. no string permitted

max_byte_string_length: usize

Maximum length in bytes of a byte string. 0 actually means 0, i.e. no byte string permitted

max_array_length: usize

Maximum number of array elements. 0 actually means 0, i.e. no array permitted

Implementations

impl DecodingLimits[src]

pub fn minimal() -> DecodingLimits[src]

This can be useful for decoding extension objects where the payload is not expected to contain any string or array.

Trait Implementations

impl Clone for DecodingLimits[src]

impl Copy for DecodingLimits[src]

impl Debug for DecodingLimits[src]

impl Default for DecodingLimits[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,