pub struct LocalClientConfig {
pub name: String,
pub instance_name: String,
pub port: u16,
pub interface_id: InterfaceId,
pub reconnect_wait: Duration,
}Expand description
Configuration for a Local client (connecting to shared instance).
Fields§
§name: String§instance_name: String§port: u16§interface_id: InterfaceId§reconnect_wait: DurationTrait Implementations§
Source§impl Clone for LocalClientConfig
impl Clone for LocalClientConfig
Source§fn clone(&self) -> LocalClientConfig
fn clone(&self) -> LocalClientConfig
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 LocalClientConfig
impl Debug for LocalClientConfig
Auto Trait Implementations§
impl Freeze for LocalClientConfig
impl RefUnwindSafe for LocalClientConfig
impl Send for LocalClientConfig
impl Sync for LocalClientConfig
impl Unpin for LocalClientConfig
impl UnwindSafe for LocalClientConfig
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