pub enum ConnectionPurpose {
Mapper,
Migration,
Probe,
Direct,
}Expand description
调用方显式声明的连接用途,不从任务、SQL 或错误文本推断。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionPurpose
impl Clone for ConnectionPurpose
impl Copy for ConnectionPurpose
Source§impl Debug for ConnectionPurpose
impl Debug for ConnectionPurpose
impl Eq for ConnectionPurpose
Source§impl PartialEq for ConnectionPurpose
impl PartialEq for ConnectionPurpose
impl StructuralPartialEq for ConnectionPurpose
Auto Trait Implementations§
impl Forget for ConnectionPurpose
impl Freeze for ConnectionPurpose
impl Move for ConnectionPurpose
impl RefUnwindSafe for ConnectionPurpose
impl Send for ConnectionPurpose
impl Sync for ConnectionPurpose
impl Unpin for ConnectionPurpose
impl UnsafeUnpin for ConnectionPurpose
impl UnwindSafe for ConnectionPurpose
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