pub struct NetworkRateLimiterConfig {
pub egress: Option<RateLimiterConfig>,
pub ingress: Option<RateLimiterConfig>,
}Expand description
Egress and ingress rate limits for a local sandbox network.
Fields§
§egress: Option<RateLimiterConfig>Guest-to-runtime (egress) rate limiter. Missing means unlimited.
ingress: Option<RateLimiterConfig>Runtime-to-guest (ingress) rate limiter. Missing means unlimited.
Trait Implementations§
Source§impl Clone for NetworkRateLimiterConfig
impl Clone for NetworkRateLimiterConfig
Source§fn clone(&self) -> NetworkRateLimiterConfig
fn clone(&self) -> NetworkRateLimiterConfig
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 NetworkRateLimiterConfig
impl Debug for NetworkRateLimiterConfig
Source§impl Default for NetworkRateLimiterConfig
impl Default for NetworkRateLimiterConfig
Source§fn default() -> NetworkRateLimiterConfig
fn default() -> NetworkRateLimiterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkRateLimiterConfigwhere
NetworkRateLimiterConfig: Default,
impl<'de> Deserialize<'de> for NetworkRateLimiterConfigwhere
NetworkRateLimiterConfig: Default,
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 NetworkRateLimiterConfig
Source§impl PartialEq for NetworkRateLimiterConfig
impl PartialEq for NetworkRateLimiterConfig
Source§impl Serialize for NetworkRateLimiterConfig
impl Serialize for NetworkRateLimiterConfig
impl StructuralPartialEq for NetworkRateLimiterConfig
Auto Trait Implementations§
impl Freeze for NetworkRateLimiterConfig
impl RefUnwindSafe for NetworkRateLimiterConfig
impl Send for NetworkRateLimiterConfig
impl Sync for NetworkRateLimiterConfig
impl Unpin for NetworkRateLimiterConfig
impl UnsafeUnpin for NetworkRateLimiterConfig
impl UnwindSafe for NetworkRateLimiterConfig
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