Struct tokio_interceptor::Db [−][src]
pub struct Db<State>(_);
Methods
impl<State> Db<State>
[src]
impl<State> Db<State>
pub fn new(state: State) -> Db<State>
[src]
pub fn new(state: State) -> Db<State>
pub fn borrow(&self) -> Ref<State>
[src]
pub fn borrow(&self) -> Ref<State>
pub fn mutate<F>(&self, f: F) -> MutateState<State, F>
[src]
pub fn mutate<F>(&self, f: F) -> MutateState<State, F>
Trait Implementations
impl<S> Clone for Db<S>
[src]
impl<S> Clone for Db<S>
fn clone(&self) -> Db<S>
[src]
fn clone(&self) -> Db<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S: 'static> Coeffect for Db<S>
[src]
impl<S: 'static> Coeffect for Db<S>
impl<S: 'static> NewCoeffect for Db<S>
[src]
impl<S: 'static> NewCoeffect for Db<S>
type Instance = Db<S>
fn new_coeffect(&self) -> Db<S>
[src]
fn new_coeffect(&self) -> Db<S>