pub struct BackboneClientConfig {
pub name: String,
pub target_host: String,
pub target_port: u16,
pub interface_id: InterfaceId,
pub reconnect_wait: Duration,
pub max_reconnect_tries: Option<u32>,
pub connect_timeout: Duration,
pub transport_identity: Option<String>,
}Expand description
Configuration for a backbone client interface.
Fields§
§name: String§target_host: String§target_port: u16§interface_id: InterfaceId§reconnect_wait: Duration§max_reconnect_tries: Option<u32>§connect_timeout: Duration§transport_identity: Option<String>Trait Implementations§
Source§impl Clone for BackboneClientConfig
impl Clone for BackboneClientConfig
Source§fn clone(&self) -> BackboneClientConfig
fn clone(&self) -> BackboneClientConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 BackboneClientConfig
impl Debug for BackboneClientConfig
Auto Trait Implementations§
impl Freeze for BackboneClientConfig
impl RefUnwindSafe for BackboneClientConfig
impl Send for BackboneClientConfig
impl Sync for BackboneClientConfig
impl Unpin for BackboneClientConfig
impl UnwindSafe for BackboneClientConfig
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