pub struct OutputLimits {
pub max_result_bytes: usize,
pub max_run_result_bytes: usize,
pub max_run_frames: usize,
pub max_error_bytes: usize,
}Expand description
Output caps (see the module docs).
Fields§
§max_result_bytes: usizeLongest result text delivered per frame (bytes, including the truncation note).
max_run_result_bytes: usizeMost result text a run may deliver in total (bytes).
max_run_frames: usizeMost frames a run may emit.
max_error_bytes: usizeLongest error text kept per frame (bytes).
Trait Implementations§
Source§impl Clone for OutputLimits
impl Clone for OutputLimits
impl Copy for OutputLimits
Source§impl Debug for OutputLimits
impl Debug for OutputLimits
Source§impl Default for OutputLimits
impl Default for OutputLimits
impl Eq for OutputLimits
Source§impl PartialEq for OutputLimits
impl PartialEq for OutputLimits
impl StructuralPartialEq for OutputLimits
Auto Trait Implementations§
impl Forget for OutputLimits
impl Freeze for OutputLimits
impl Move for OutputLimits
impl RefUnwindSafe for OutputLimits
impl Send for OutputLimits
impl Sync for OutputLimits
impl Unpin for OutputLimits
impl UnsafeUnpin for OutputLimits
impl UnwindSafe for OutputLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.