Struct avm_server::AVMRuntimeLimits
source · pub struct AVMRuntimeLimits {
pub air_size_limit: Option<u64>,
pub particle_size_limit: Option<u64>,
pub call_result_size_limit: Option<u64>,
pub hard_limit_enabled: bool,
}Fields§
§air_size_limit: Option<u64>§particle_size_limit: Option<u64>The particle data size limit.
call_result_size_limit: Option<u64>This is the limit for the size of service call result.
hard_limit_enabled: boolThis knob controls hard RAM limits behavior for AVMRunner.
Implementations§
Trait Implementations§
source§impl Default for AVMRuntimeLimits
impl Default for AVMRuntimeLimits
source§fn default() -> AVMRuntimeLimits
fn default() -> AVMRuntimeLimits
Returns the “default value” for a type. Read more
source§impl From<AVMRuntimeLimits> for AquaVMRuntimeLimits
impl From<AVMRuntimeLimits> for AquaVMRuntimeLimits
source§fn from(value: AVMRuntimeLimits) -> Self
fn from(value: AVMRuntimeLimits) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AVMRuntimeLimits
impl Send for AVMRuntimeLimits
impl Sync for AVMRuntimeLimits
impl Unpin for AVMRuntimeLimits
impl UnwindSafe for AVMRuntimeLimits
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<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.