Crate bitwarden_ipc

Source
Expand description

ยงbitwarden-ipc

Modulesยง

constants ๐Ÿ”’
discover ๐Ÿ”’
endpoint ๐Ÿ”’
ipc_client ๐Ÿ”’
message ๐Ÿ”’
rpc ๐Ÿ”’
serde_utils ๐Ÿ”’
Global serialization and deserialization utilities for IPC messages. This module provides functions to serialize and deserialize IPC messages in one place, ensuring consistency and reducing code duplication across the IPC crate.
traits ๐Ÿ”’
wasm
Re-export types to make sure wasm_bindgen picks them up

Structsยง

IpcClient
An IPC client that handles communication between different components and clients. It uses a crypto provider to encrypt and decrypt messages, a communication backend to send and receive messages, and a session repository to persist sessions.
IpcClientSubscription
A subscription to receive messages over IPC. The subcription will start buffering messages after its creation and return them when receive() is called. Messages received before the subscription was created will not be returned.
IpcClientTypedSubscription
A subscription to receive messages over IPC. The subcription will start buffering messages after its creation and return them when receive() is called. Messages received before the subscription was created will not be returned.

Enumsยง

ReceiveError
RequestError
SubscribeError
TypedReceiveError

Traitsยง

RpcHandler
Trait defining a handler for RPC requests. These can registered with the IPC client and will be used to handle incoming RPC requests.