pub struct DialConfig {
pub attempt_timeout: Duration,
pub supported: Option<Vec<TransportKind>>,
}Fields§
§attempt_timeout: Duration§supported: Option<Vec<TransportKind>>Trait Implementations§
Source§impl Clone for DialConfig
impl Clone for DialConfig
Source§fn clone(&self) -> DialConfig
fn clone(&self) -> DialConfig
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 moreSource§impl Debug for DialConfig
impl Debug for DialConfig
Source§impl Default for DialConfig
impl Default for DialConfig
Source§fn default() -> DialConfig
fn default() -> DialConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DialConfig
impl RefUnwindSafe for DialConfig
impl Send for DialConfig
impl Sync for DialConfig
impl Unpin for DialConfig
impl UnsafeUnpin for DialConfig
impl UnwindSafe for DialConfig
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