Struct privsep::imsg::Handler [−][src]
pub struct Handler { /* fields omitted */ }
Expand description
imsg
handler.
Implementations
Create half of a handler pair from a file descriptor.
Send message to remote end.
pub async fn recv_message<T: DeserializeOwned>(
&self
) -> Result<Option<(Message, Option<Fd>, T)>>
pub async fn recv_message<T: DeserializeOwned>(
&self
) -> Result<Option<(Message, Option<Fd>, T)>>
Receive message from the remote end.
Trait Implementations
Performs the conversion.