pub struct Config {
pub user: String,
pub password: Vec<u8>,
pub database: Option<String>,
pub tls: bool,
pub compression: bool,
pub multiple_statements: bool,
pub local_infile: bool,
pub max_buffer: usize,
pub max_columns: usize,
pub connect_deadline: Option<Instant>,
}Fields§
§user: String§password: Vec<u8>§database: Option<String>§tls: bool§compression: bool§multiple_statements: bool§local_infile: bool§max_buffer: usize§max_columns: usize§connect_deadline: Option<Instant>Trait 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