Struct avm_server::SoftLimitsTriggering
source · pub struct SoftLimitsTriggering {
pub air_size_limit_exceeded: bool,
pub particle_size_limit_exceeded: bool,
pub call_result_size_limit_exceeded: bool,
}Expand description
This stores soft limits triggering flags.
Fields§
§air_size_limit_exceeded: bool§particle_size_limit_exceeded: bool§call_result_size_limit_exceeded: boolImplementations§
source§impl SoftLimitsTriggering
impl SoftLimitsTriggering
pub fn new( air_size_limit_exceeded: bool, particle_size_limit_exceeded: bool, call_result_size_limit_exceeded: bool ) -> SoftLimitsTriggering
pub fn are_limits_exceeded(&self) -> bool
Trait Implementations§
source§impl Clone for SoftLimitsTriggering
impl Clone for SoftLimitsTriggering
source§fn clone(&self) -> SoftLimitsTriggering
fn clone(&self) -> SoftLimitsTriggering
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SoftLimitsTriggering
impl Debug for SoftLimitsTriggering
source§impl Default for SoftLimitsTriggering
impl Default for SoftLimitsTriggering
source§fn default() -> SoftLimitsTriggering
fn default() -> SoftLimitsTriggering
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SoftLimitsTriggering
impl<'de> Deserialize<'de> for SoftLimitsTriggering
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SoftLimitsTriggering, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SoftLimitsTriggering, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SoftLimitsTriggering
impl PartialEq for SoftLimitsTriggering
source§fn eq(&self, other: &SoftLimitsTriggering) -> bool
fn eq(&self, other: &SoftLimitsTriggering) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SoftLimitsTriggering
impl Serialize for SoftLimitsTriggering
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SoftLimitsTriggering
impl Eq for SoftLimitsTriggering
impl StructuralPartialEq for SoftLimitsTriggering
Auto Trait Implementations§
impl RefUnwindSafe for SoftLimitsTriggering
impl Send for SoftLimitsTriggering
impl Sync for SoftLimitsTriggering
impl Unpin for SoftLimitsTriggering
impl UnwindSafe for SoftLimitsTriggering
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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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.