#[non_exhaustive]pub struct ClientConfig {
pub url: String,
pub client_id: Uuid,
pub token: Option<String>,
pub reconnect: ReconnectPolicy,
pub transport_preference: TransportPreference,
pub binary_mode: bool,
}Expand description
Configuration for a push-wire client connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: String§client_id: Uuid§token: Option<String>§reconnect: ReconnectPolicy§transport_preference: TransportPreference§binary_mode: boolImplementations§
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfig
impl UnwindSafe for ClientConfig
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