pub enum Purity {
New,
Self_,
}
Expand description
Variants
New
Must use a new session
Self_
Reuse a pooled session
Trait Implementations
impl Copy for Purity
impl StructuralPartialEq for Purity
Auto Trait Implementations
impl RefUnwindSafe for Purity
impl Send for Purity
impl Sync for Purity
impl Unpin for Purity
impl UnwindSafe for Purity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more