pub struct InMemoryConnection {
pub executed: RefCell<Vec<ExecutedCommand>>,
/* private fields */
}Fields§
§executed: RefCell<Vec<ExecutedCommand>>Implementations§
Source§impl InMemoryConnection
impl InMemoryConnection
pub fn with_grids(grids: Vec<Vec<Row>>) -> Self
pub fn with_affected(self, affected: usize) -> Self
pub fn with_scalar(self, scalar: Value) -> Self
Trait Implementations§
Source§impl Clone for InMemoryConnection
impl Clone for InMemoryConnection
Source§impl Connection for InMemoryConnection
impl Connection for InMemoryConnection
Auto Trait Implementations§
impl !Freeze for InMemoryConnection
impl !RefUnwindSafe for InMemoryConnection
impl !Sync for InMemoryConnection
impl Forget for InMemoryConnection
impl Move for InMemoryConnection
impl Send for InMemoryConnection
impl Unpin for InMemoryConnection
impl UnsafeUnpin for InMemoryConnectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec<Row>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<ExecutedCommand>: UnsafeUnpin,
impl UnwindSafe for InMemoryConnection
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