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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more