libccanvas 0.2.0

Utility for creating ccanvas components.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::path::PathBuf;

pub struct ClientConfig {
    /// Path to the listener socket
    pub listener_socket: PathBuf,
    /// Path to request socket
    pub request_socket: PathBuf,
}

impl Default for ClientConfig {
    fn default() -> Self {
        Self {
            listener_socket: PathBuf::from("listen.sock"),
            request_socket: PathBuf::from("requests.sock"),
        }
    }
}