pub struct TransitConfig {
pub max_tunnels: Option<usize>,
}Expand description
Metrics configuration.
Fields§
§max_tunnels: Option<usize>Maximum number of transit tunnels.
If None, there are no limit on transit tunnels.
Trait Implementations§
Source§impl Clone for TransitConfig
impl Clone for TransitConfig
Source§fn clone(&self) -> TransitConfig
fn clone(&self) -> TransitConfig
Returns a duplicate 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 TransitConfig
impl Debug for TransitConfig
Source§impl Default for TransitConfig
impl Default for TransitConfig
Source§fn default() -> TransitConfig
fn default() -> TransitConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransitConfig
impl RefUnwindSafe for TransitConfig
impl Send for TransitConfig
impl Sync for TransitConfig
impl Unpin for TransitConfig
impl UnwindSafe for TransitConfig
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