struct IpcClientInner<Crypto, Com, Ses>where
Crypto: CryptoProvider<Com, Ses>,
Com: CommunicationBackend,
Ses: SessionRepository<Crypto::Session>,{
crypto: Crypto,
communication: Com,
sessions: Ses,
handlers: RpcHandlerRegistry,
incoming: Mutex<Option<Receiver<IncomingMessage>>>,
cancellation_token: Mutex<Option<CancellationToken>>,
}Expand description
Internal shared state for the IPC client.
Fields§
§crypto: Crypto§communication: Com§sessions: Ses§handlers: RpcHandlerRegistry§incoming: Mutex<Option<Receiver<IncomingMessage>>>§cancellation_token: Mutex<Option<CancellationToken>>Auto Trait Implementations§
impl<Crypto, Com, Ses> !Freeze for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> !RefUnwindSafe for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> Send for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> Sync for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> Unpin for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> UnsafeUnpin for IpcClientInner<Crypto, Com, Ses>
impl<Crypto, Com, Ses> !UnwindSafe for IpcClientInner<Crypto, Com, Ses>
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more