Function with_socket

Source
pub async fn with_socket<P: AsRef<Path>>(socket: P) -> Result<AcPlugEvents>
Expand description

Listens for AC plug events from a custom socket.