dope-net 0.43.0

Owned network transports for dope
1
2
3
4
5
6
7
8
9
10
use crate::wire::receive::discard;

/// Remaining raw-prefix discard owned by one connection.
pub struct State {
    pub(super) remaining: Option<discard::Prefix>,
}

impl State {
    pub(super) const EMPTY: Self = Self { remaining: None };
}