pub struct Env { /* private fields */ }Implementations§
Source§impl Env
impl Env
Sourcepub fn split(&mut self) -> (QueryRunner, UpdateRunner)
pub fn split(&mut self) -> (QueryRunner, UpdateRunner)
Split the environment to the two query runner object and the update runner to run queries and updates.
Auto Trait Implementations§
impl Freeze for Env
impl !RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl !UnwindSafe for Env
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