[−][src]Struct opcua_server::prelude::DecodingLimits
Fields
max_chunk_size: usizeMaximum size of a message chunk in bytes. 0 means no limit
max_string_length: usizeMaximum length in bytes (not chars!) of a string. 0 actually means 0, i.e. no string permitted
max_byte_string_length: usizeMaximum length in bytes of a byte string. 0 actually means 0, i.e. no byte string permitted
max_array_length: usizeMaximum 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]
fn clone(&self) -> DecodingLimits[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DecodingLimits[src]
impl Debug for DecodingLimits[src]
impl Default for DecodingLimits[src]
fn default() -> DecodingLimits[src]
Auto Trait Implementations
impl RefUnwindSafe for DecodingLimits
impl Send for DecodingLimits
impl Sync for DecodingLimits
impl Unpin for DecodingLimits
impl UnwindSafe for DecodingLimits
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,