pub struct BackbonePeerPoolSettings {
pub max_connected: usize,
pub failure_threshold: usize,
pub failure_window: Duration,
pub cooldown: Duration,
}Fields§
§max_connected: usize§failure_threshold: usize§failure_window: Duration§cooldown: DurationTrait Implementations§
Source§impl Clone for BackbonePeerPoolSettings
impl Clone for BackbonePeerPoolSettings
Auto Trait Implementations§
impl Freeze for BackbonePeerPoolSettings
impl RefUnwindSafe for BackbonePeerPoolSettings
impl Send for BackbonePeerPoolSettings
impl Sync for BackbonePeerPoolSettings
impl Unpin for BackbonePeerPoolSettings
impl UnsafeUnpin for BackbonePeerPoolSettings
impl UnwindSafe for BackbonePeerPoolSettings
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