pub struct TurnRunner<S: SessionStore> { /* private fields */ }Expand description
Executes a turn against a pooled connection.
Implementations§
Source§impl<S: SessionStore + 'static> TurnRunner<S>
impl<S: SessionStore + 'static> TurnRunner<S>
Sourcepub fn new(
pool: Arc<ConnectionPool<S>>,
gate: QueryGate,
classifier: EventClassifier,
store: Arc<S>,
cfg: Option<TurnConfig>,
) -> Self
pub fn new( pool: Arc<ConnectionPool<S>>, gate: QueryGate, classifier: EventClassifier, store: Arc<S>, cfg: Option<TurnConfig>, ) -> Self
Create a runner.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for TurnRunner<S>
impl<S> !UnwindSafe for TurnRunner<S>
impl<S> Freeze for TurnRunner<S>
impl<S> Send for TurnRunner<S>
impl<S> Sync for TurnRunner<S>
impl<S> Unpin for TurnRunner<S>
impl<S> UnsafeUnpin for TurnRunner<S>
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