[−][src]Struct recloser::RecloserBuilder
A helper struct to build customized Recloser
.
Implementations
impl RecloserBuilder
[src]
pub fn error_rate(self, threshold: f32) -> Self
[src]
pub fn closed_len(self, closed_len: usize) -> Self
[src]
pub fn half_open_len(self, half_open_len: usize) -> Self
[src]
pub fn open_wait(self, open_wait: Duration) -> Self
[src]
pub fn build(self) -> Recloser
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RecloserBuilder
impl Send for RecloserBuilder
impl Sync for RecloserBuilder
impl Unpin for RecloserBuilder
impl UnwindSafe for RecloserBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,