Transport

Trait Transport 

Source
pub trait Transport {
    // Required methods
    fn send_line(&mut self, line: &str) -> Result<()>;
    fn read_line(&mut self) -> Result<String>;
}
Expand description

Basic transport abstraction over the KeePassXC IPC channel.

Required Methods§

Source

fn send_line(&mut self, line: &str) -> Result<()>

Send a raw JSON line (without delimiters) to KeePassXC.

Source

fn read_line(&mut self) -> Result<String>

Read a single response frame from KeePassXC.

Implementors§