pub struct ProbeBuilder {
pub tls_config: ClientConfig,
/* private fields */
}Fields§
§tls_config: ClientConfigImplementations§
Source§impl ProbeBuilder
impl ProbeBuilder
pub fn initial_rtt(self, rtt: Duration) -> Self
pub fn max_idle_timeout<T: TryInto<IdleTimeout>>( self, timeout: T, ) -> Result<Self, T::Error>
pub fn bind_addr(self, addr: SocketAddr) -> Self
pub fn build(self) -> Result<Probe, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProbeBuilder
impl !RefUnwindSafe for ProbeBuilder
impl Send for ProbeBuilder
impl Sync for ProbeBuilder
impl Unpin for ProbeBuilder
impl !UnwindSafe for ProbeBuilder
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