pub struct ConnRef<'s> { /* private fields */ }Available on crate feature
trace only.Expand description
Connection reference
Implementations§
Source§impl ConnRef<'_>
impl ConnRef<'_>
Sourcepub fn is_autocommit(&self) -> bool
pub fn is_autocommit(&self) -> bool
Test for auto-commit mode.
Sourcepub fn db_filename(&self) -> Option<&str>
pub fn db_filename(&self) -> Option<&str>
the path to the database file, if one exists and is known.
Auto Trait Implementations§
impl<'s> !Send for ConnRef<'s>
impl<'s> !Sync for ConnRef<'s>
impl<'s> Freeze for ConnRef<'s>
impl<'s> RefUnwindSafe for ConnRef<'s>
impl<'s> Unpin for ConnRef<'s>
impl<'s> UnsafeUnpin for ConnRef<'s>
impl<'s> UnwindSafe for ConnRef<'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