pub enum RegOn<F>{
RO(F),
RW(F),
Both(F),
}Available on crate feature
sqlsrv only.Expand description
Wrapper around a SQL functions registration callback used to select which connection types to perform registrations on.
Variants§
RO(F)
This registration callback should only be called for read-only connections.
RW(F)
This registration callback should only be called for the read/write connections.
Both(F)
This registration callback should be called for both the read-only and read/write connections.
Auto Trait Implementations§
impl<F> Freeze for RegOn<F>where
F: Freeze,
impl<F> RefUnwindSafe for RegOn<F>where
F: RefUnwindSafe,
impl<F> Send for RegOn<F>where
F: Send,
impl<F> Sync for RegOn<F>where
F: Sync,
impl<F> Unpin for RegOn<F>where
F: Unpin,
impl<F> UnwindSafe for RegOn<F>where
F: UnwindSafe,
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