pub struct EffectBounds {
pub max_request_bytes: usize,
pub max_invocations: u64,
}Expand description
Bounds attached to every callable effect.
Fields§
§max_request_bytes: usizeMaximum encoded request size.
max_invocations: u64Maximum number of invocations for one opened session.
Trait Implementations§
Source§impl Clone for EffectBounds
impl Clone for EffectBounds
Source§fn clone(&self) -> EffectBounds
fn clone(&self) -> EffectBounds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EffectBounds
impl Debug for EffectBounds
impl Eq for EffectBounds
Source§impl PartialEq for EffectBounds
impl PartialEq for EffectBounds
impl StructuralPartialEq for EffectBounds
Auto Trait Implementations§
impl Freeze for EffectBounds
impl RefUnwindSafe for EffectBounds
impl Send for EffectBounds
impl Sync for EffectBounds
impl Unpin for EffectBounds
impl UnsafeUnpin for EffectBounds
impl UnwindSafe for EffectBounds
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