Struct air_test_utils::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: bool
Implementations§
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 Freeze for SoftLimitsTriggering
impl RefUnwindSafe for SoftLimitsTriggering
impl Send for SoftLimitsTriggering
impl Sync for SoftLimitsTriggering
impl Unpin for SoftLimitsTriggering
impl UnwindSafe for SoftLimitsTriggering
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
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.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.