Function capacity

Source
pub const fn capacity() -> usize
Expand description

compute capacity.

ยงExamples

use turn_rs::router::ports::*;

assert_eq!(capacity(), 65535 - 49152);