brokaw 0.2.0

📰 An NNTP client liberary. More at 11! 📰
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::fmt;

use crate::types::NntpCommand;

/// Enable Giganews style header compression
#[derive(Clone, Copy, Debug)]
pub struct XFeatureCompress;

impl fmt::Display for XFeatureCompress {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "XFEATURE COMPRESS GZIP TERMINATOR")
    }
}

impl NntpCommand for XFeatureCompress {}