pub struct HostLimits {
pub max_input_bytes: usize,
pub max_resource_requests: usize,
pub max_layout_nodes: usize,
}Expand description
Host imposed upper bounds on engine resource consumption.
Fields§
§max_input_bytes: usizeMaximum input bytes accepted for one fragment.
max_resource_requests: usizeMaximum resource requests made while executing one fragment.
max_layout_nodes: usizeMaximum layout nodes an engine session should emit.
Trait Implementations§
Source§impl Clone for HostLimits
impl Clone for HostLimits
Source§fn clone(&self) -> HostLimits
fn clone(&self) -> HostLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostLimits
Source§impl Debug for HostLimits
impl Debug for HostLimits
Source§impl Default for HostLimits
impl Default for HostLimits
impl Eq for HostLimits
Source§impl PartialEq for HostLimits
impl PartialEq for HostLimits
impl StructuralPartialEq for HostLimits
Auto Trait Implementations§
impl Freeze for HostLimits
impl RefUnwindSafe for HostLimits
impl Send for HostLimits
impl Sync for HostLimits
impl Unpin for HostLimits
impl UnsafeUnpin for HostLimits
impl UnwindSafe for HostLimits
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