pub enum StatementLogging {
Disabled,
Debug,
Trace,
}Expand description
受管连接的语句日志策略;关闭时 SQLx 不产生逐条语句事件。
Variants§
Trait Implementations§
Source§impl Clone for StatementLogging
impl Clone for StatementLogging
impl Copy for StatementLogging
Source§impl Debug for StatementLogging
impl Debug for StatementLogging
Source§impl Default for StatementLogging
impl Default for StatementLogging
impl Eq for StatementLogging
Source§impl PartialEq for StatementLogging
impl PartialEq for StatementLogging
impl StructuralPartialEq for StatementLogging
Auto Trait Implementations§
impl Forget for StatementLogging
impl Freeze for StatementLogging
impl Move for StatementLogging
impl RefUnwindSafe for StatementLogging
impl Send for StatementLogging
impl Sync for StatementLogging
impl Unpin for StatementLogging
impl UnsafeUnpin for StatementLogging
impl UnwindSafe for StatementLogging
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