pub struct Memory;Expand description
An in-memory, ephemeral SQLite database Endpoint.
use squire::{Connection, Memory};
let connection = Connection::open(Memory)?;
Trait Implementations§
Source§impl IntoEndpoint for Memory
Available on sqlite_has_memory_database only.
impl IntoEndpoint for Memory
Available on
sqlite_has_memory_database only.impl Copy for Memory
impl Eq for Memory
impl StructuralPartialEq for Memory
Auto Trait Implementations§
impl Freeze for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnsafeUnpin for Memory
impl UnwindSafe for Memory
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