pub struct BackboneFastFlapConfig {
pub enabled: bool,
pub connection_threshold: Duration,
pub grace: u64,
pub block_duration: Duration,
}Expand description
Upstream-compatible automatic blocking for repeatedly short-lived inbound Backbone connections.
Fields§
§enabled: bool§connection_threshold: Duration§grace: u64§block_duration: DurationTrait Implementations§
Source§impl Clone for BackboneFastFlapConfig
impl Clone for BackboneFastFlapConfig
Source§fn clone(&self) -> BackboneFastFlapConfig
fn clone(&self) -> BackboneFastFlapConfig
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 moreimpl Copy for BackboneFastFlapConfig
Source§impl Debug for BackboneFastFlapConfig
impl Debug for BackboneFastFlapConfig
Source§impl Default for BackboneFastFlapConfig
impl Default for BackboneFastFlapConfig
impl Eq for BackboneFastFlapConfig
Source§impl PartialEq for BackboneFastFlapConfig
impl PartialEq for BackboneFastFlapConfig
impl StructuralPartialEq for BackboneFastFlapConfig
Auto Trait Implementations§
impl Freeze for BackboneFastFlapConfig
impl RefUnwindSafe for BackboneFastFlapConfig
impl Send for BackboneFastFlapConfig
impl Sync for BackboneFastFlapConfig
impl Unpin for BackboneFastFlapConfig
impl UnsafeUnpin for BackboneFastFlapConfig
impl UnwindSafe for BackboneFastFlapConfig
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