Skip to main content

Crate nzb_nntp

Crate nzb_nntp 

Source
Expand description

Async NNTP client with TLS, pipelining, connection pooling, and multi-server support.

Modules:

  • config — Server and article configuration types
  • error — NNTP-specific error types
  • connection — Single NNTP connection state machine (TCP/TLS, auth, article fetch)
  • pipeline — Request pipelining (ARTICLE and STAT commands)
  • pool — Per-server async connection pool
  • server ��� Server health tracking, penalties, speed measurement
  • downloader — Download orchestrator (assigns articles to servers with failover)

Re-exports§

pub use capabilities::NntpCapabilities;
pub use config::Article;
pub use config::ListActiveEntry;
pub use config::ServerConfig;
pub use connection::ArticleRange;
pub use connection::ConnectionState;
pub use connection::GroupResponse;
pub use connection::HeaderEntry;
pub use connection::NntpConnection;
pub use connection::NntpResponse;
pub use connection::XoverEntry;
pub use downloader::ArticleResult;
pub use downloader::Downloader;
pub use error::NntpError;
pub use error::NntpResult;
pub use pipeline::Pipeline;
pub use pipeline::StatPipeline;
pub use pipeline::StatResult;
pub use pool::ConnectionPool;
pub use server::ServerState;

Modules§

capabilities
NNTP server capability detection (RFC 3977 §5.2 + common extensions).
config
NNTP server and article configuration types.
connect_gate
Per-host connection rate limiter.
connection
NNTP connection state machine.
downloader
Download orchestrator.
error
Error types for the NNTP subsystem.
pipeline
Request pipelining for NNTP connections.
pool
Per-server connection pool.
server
Server health tracking, penalties, connection management, and speed tracking.