pub struct WireLimits {
pub max_bytes: usize,
pub max_args: u32,
pub max_method: u32,
pub max_payload: u32,
pub max_caps: u32,
pub max_methods: u32,
}Expand description
Envelope size and count ceilings for untrusted input.
Fields§
§max_bytes: usizeMaximum total envelope bytes.
max_args: u32Maximum arguments.
max_method: u32Maximum method-name bytes.
max_payload: u32Maximum payload bytes.
max_caps: u32Maximum capability descriptors.
max_methods: u32Maximum methods per descriptor.
Implementations§
Source§impl WireLimits
impl WireLimits
Trait Implementations§
Source§impl Clone for WireLimits
impl Clone for WireLimits
impl Copy for WireLimits
Source§impl Debug for WireLimits
impl Debug for WireLimits
Source§impl Default for WireLimits
impl Default for WireLimits
impl Eq for WireLimits
Source§impl PartialEq for WireLimits
impl PartialEq for WireLimits
impl StructuralPartialEq for WireLimits
Auto Trait Implementations§
impl Freeze for WireLimits
impl RefUnwindSafe for WireLimits
impl Send for WireLimits
impl Sync for WireLimits
impl Unpin for WireLimits
impl UnsafeUnpin for WireLimits
impl UnwindSafe for WireLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.