pub struct InputQueuesConfig {
pub packets: usize,
pub ports: BTreeMap<String, InputQueueLimitConfig>,
}Fields§
§packets: usize所有正向输入口的默认包数容量。0 = 不限。
ports: BTreeMap<String, InputQueueLimitConfig>按输入口名覆盖;省略时继承上面的默认值,显式 0 表示不限。
Trait Implementations§
Source§impl Clone for InputQueuesConfig
impl Clone for InputQueuesConfig
Source§fn clone(&self) -> InputQueuesConfig
fn clone(&self) -> InputQueuesConfig
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 InputQueuesConfig
impl Debug for InputQueuesConfig
Source§impl Default for InputQueuesConfig
impl Default for InputQueuesConfig
Source§fn default() -> InputQueuesConfig
fn default() -> InputQueuesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputQueuesConfig
impl<'de> Deserialize<'de> for InputQueuesConfig
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
Auto Trait Implementations§
impl Freeze for InputQueuesConfig
impl RefUnwindSafe for InputQueuesConfig
impl Send for InputQueuesConfig
impl Sync for InputQueuesConfig
impl Unpin for InputQueuesConfig
impl UnsafeUnpin for InputQueuesConfig
impl UnwindSafe for InputQueuesConfig
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