pub struct Config {
pub username: Option<String>,
pub password: Option<String>,
pub database: u32,
pub client_name: Option<String>,
pub tls: bool,
pub prefer_resp3: bool,
pub offline_queue: bool,
pub auto_resubscribe: bool,
pub auto_resend_unfulfilled: bool,
pub max_retries_per_request: Option<u32>,
pub connect_timeout: Duration,
pub limits: Limits,
}Fields§
§username: Option<String>§password: Option<String>§database: u32§client_name: Option<String>§tls: bool§prefer_resp3: bool§offline_queue: bool§auto_resubscribe: bool§auto_resend_unfulfilled: bool§max_retries_per_request: Option<u32>§connect_timeout: Duration§limits: LimitsTrait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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