ggemini 0.20.0

Glib/Gio-oriented network API for Gemini protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Mutable bytes count
pub struct Size {
    pub chunk: usize,
    /// `None` for unlimited
    pub limit: Option<usize>,
    pub total: usize,
}

impl Default for Size {
    fn default() -> Self {
        Self {
            chunk: 0x10000, // 64KB
            limit: None,
            total: 0,
        }
    }
}