Skip to main content

peer_flags

Function peer_flags 

Source
pub fn peer_flags(p: &PeerInfo) -> Vec<(char, &'static str)>
Expand description

Compute the qBittorrent-compatible peer flags for a single peer.

Each tuple is (glyph, tooltip). Order is significant — qBt’s WebUI emits them in the order produced here.