Struct lair_keystore_lib::store_sqlite::SqlPool [−][src]
pub struct SqlPool(_);
Expand description
SqlPool is a sqlite/sqlcipher connection pool LairStore.
Implementations
pub fn new(
path: PathBuf,
db_key: BufReadSized<32>
) -> impl Future<Output = LairResult<LairStore>> + 'static + Send
pub fn new(
path: PathBuf,
db_key: BufReadSized<32>
) -> impl Future<Output = LairResult<LairStore>> + 'static + Send
Construct a new SqlPool instance.
Trait Implementations
Return the context key for both encryption and decryption of secret data within the store that is NOT deep_locked. Read more
List the entries tracked by the lair store.
Write a new entry to the lair store.
Get an entry from the lair store by tag.
fn get_entry_by_ed25519_pub_key(
&self,
ed25519_pub_key: Ed25519PubKey
) -> BoxFuture<'static, LairResult<LairEntry>>
fn get_entry_by_ed25519_pub_key(
&self,
ed25519_pub_key: Ed25519PubKey
) -> BoxFuture<'static, LairResult<LairEntry>>
Get an entry from the lair store by ed25519 pub key.
fn get_entry_by_x25519_pub_key(
&self,
x25519_pub_key: X25519PubKey
) -> BoxFuture<'static, LairResult<LairEntry>>
fn get_entry_by_x25519_pub_key(
&self,
x25519_pub_key: X25519PubKey
) -> BoxFuture<'static, LairResult<LairEntry>>
Get an entry from the lair store by x25519 pub key.
Auto Trait Implementations
impl !RefUnwindSafe for SqlPool
impl !UnwindSafe for SqlPool
Blanket Implementations
Mutably borrows from an owned value. Read more
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn vzip(self) -> V
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more