pub struct Manager<T> { /* private fields */ }Expand description
Manager for creating and recycling SQLite Connections.
Implementations§
Trait Implementations§
Source§impl<T> Manager for Manager<T>where
T: SqliteConn,
impl<T> Manager for Manager<T>where
T: SqliteConn,
Source§type Type = T
type Type = T
Type of
super::Objects that this Manager creates and recycles.Source§type Error = Error
type Error = Error
Error that this
Manager can return when creating and/or recycling
super::Objects.Source§fn create(&self) -> impl Future<Output = Result<Self::Type, Self::Error>> + Send
fn create(&self) -> impl Future<Output = Result<Self::Type, Self::Error>> + Send
Creates a new instance of
Manager::Type.Auto Trait Implementations§
impl<T> !Freeze for Manager<T>
impl<T> !RefUnwindSafe for Manager<T>
impl<T> !UnwindSafe for Manager<T>
impl<T> Send for Manager<T>
impl<T> Sync for Manager<T>
impl<T> Unpin for Manager<T>
impl<T> UnsafeUnpin for Manager<T>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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