Struct lair_keystore_api::ipc_keystore::IpcKeystoreServer
source · pub struct IpcKeystoreServer { /* private fields */ }
Expand description
Server keystore item for dealing with ipc keystores, both unix domain sockets and windows named pipes.
Implementations§
source§impl IpcKeystoreServer
impl IpcKeystoreServer
sourcepub fn new<P>(
config: LairServerConfig,
store_factory: LairStoreFactory,
passphrase: P
) -> impl Future<Output = LairResult<Self>> + 'static + Send
pub fn new<P>( config: LairServerConfig, store_factory: LairStoreFactory, passphrase: P ) -> impl Future<Output = LairResult<Self>> + 'static + Send
Construct a new IpcKeystoreServer instance.
sourcepub fn store(
&self
) -> impl Future<Output = LairResult<LairStore>> + 'static + Send
pub fn store( &self ) -> impl Future<Output = LairResult<LairStore>> + 'static + Send
Get a handle to the LairStore instantiated by this server, may error if a store has not yet been created.
sourcepub fn get_config(&self) -> LairServerConfig
pub fn get_config(&self) -> LairServerConfig
Get the config used by the LairServer held by this IpcKeystoreServer.
Trait Implementations§
source§impl Clone for IpcKeystoreServer
impl Clone for IpcKeystoreServer
source§fn clone(&self) -> IpcKeystoreServer
fn clone(&self) -> IpcKeystoreServer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for IpcKeystoreServer
impl Send for IpcKeystoreServer
impl Sync for IpcKeystoreServer
impl Unpin for IpcKeystoreServer
impl !UnwindSafe for IpcKeystoreServer
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