dope-tls 0.19.0

TCP TLS streams for dope runtime, shin-backed
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::num;

use dope::net::wire::batch;

use crate::tls::receive;

unsafe impl batch::raw::Source for receive::Batch<'_> {
    const MAX_ITEMS: num::NonZeroUsize = match num::NonZeroUsize::new(32) {
        Some(limit) => limit,
        None => num::NonZeroUsize::MIN,
    };
    const MIN_CAPACITY: num::NonZeroUsize = match num::NonZeroUsize::new(2) {
        Some(limit) => limit,
        None => num::NonZeroUsize::MIN,
    };
}