pub struct BackboneConfig {Show 18 fields
pub name: String,
pub listen_ip: String,
pub listen_port: u16,
pub interface_id: InterfaceId,
pub mode: u8,
pub gravity: i64,
pub recursive_prs: bool,
pub announces_from_internal: bool,
pub announces_to_internal: Option<bool>,
pub max_connections: Option<usize>,
pub idle_timeout: Option<Duration>,
pub write_stall_timeout: Option<Duration>,
pub abuse: BackboneAbuseConfig,
pub fast_flap: BackboneFastFlapConfig,
pub fast_flap_state: Arc<Mutex<BackboneFastFlapMonitor>>,
pub ingress_control: IngressControlConfig,
pub runtime: Arc<Mutex<BackboneServerRuntime>>,
pub peer_state: Arc<Mutex<BackbonePeerMonitor>>,
}Expand description
Configuration for a backbone interface.
Fields§
§name: String§listen_ip: String§listen_port: u16§interface_id: InterfaceId§mode: u8§gravity: i64§recursive_prs: bool§announces_from_internal: bool§announces_to_internal: Option<bool>§max_connections: Option<usize>§idle_timeout: Option<Duration>§write_stall_timeout: Option<Duration>§abuse: BackboneAbuseConfig§fast_flap: BackboneFastFlapConfig§fast_flap_state: Arc<Mutex<BackboneFastFlapMonitor>>§ingress_control: IngressControlConfig§runtime: Arc<Mutex<BackboneServerRuntime>>§peer_state: Arc<Mutex<BackbonePeerMonitor>>Trait Implementations§
Source§impl Clone for BackboneConfig
impl Clone for BackboneConfig
Source§impl Debug for BackboneConfig
impl Debug for BackboneConfig
Auto Trait Implementations§
impl Freeze for BackboneConfig
impl RefUnwindSafe for BackboneConfig
impl Send for BackboneConfig
impl Sync for BackboneConfig
impl Unpin for BackboneConfig
impl UnsafeUnpin for BackboneConfig
impl UnwindSafe for BackboneConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more