pub struct HostFunctionLimits {
pub default_timeout_ms: Option<u64>,
pub max_timeout_ms: Option<u64>,
pub max_registered_collections: Option<u64>,
pub max_registered_functions_per_vm: Option<u64>,
pub max_functions_per_collection: Option<u64>,
pub max_schema_bytes: Option<u64>,
pub max_examples_per_function: Option<u64>,
pub max_example_input_bytes: Option<u64>,
}Fields§
§default_timeout_ms: Option<u64>§max_timeout_ms: Option<u64>§max_registered_collections: Option<u64>§max_registered_functions_per_vm: Option<u64>§max_functions_per_collection: Option<u64>§max_schema_bytes: Option<u64>§max_examples_per_function: Option<u64>§max_example_input_bytes: Option<u64>Trait Implementations§
Source§impl Clone for HostFunctionLimits
impl Clone for HostFunctionLimits
Source§impl Debug for HostFunctionLimits
impl Debug for HostFunctionLimits
Source§impl Default for HostFunctionLimits
impl Default for HostFunctionLimits
Source§impl<'de> Deserialize<'de> for HostFunctionLimits
impl<'de> Deserialize<'de> for HostFunctionLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostFunctionLimits
Source§impl PartialEq for HostFunctionLimits
impl PartialEq for HostFunctionLimits
Source§impl Serialize for HostFunctionLimits
impl Serialize for HostFunctionLimits
impl StructuralPartialEq for HostFunctionLimits
Auto Trait Implementations§
impl Forget for HostFunctionLimits
impl Freeze for HostFunctionLimits
impl Move for HostFunctionLimits
impl RefUnwindSafe for HostFunctionLimits
impl Send for HostFunctionLimits
impl Sync for HostFunctionLimits
impl Unpin for HostFunctionLimits
impl UnsafeUnpin for HostFunctionLimits
impl UnwindSafe for HostFunctionLimits
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compares
self to key and returns true if they are equal.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.