netbuf::MAX_BUF_SIZE [] [src]

pub const MAX_BUF_SIZE: usize = 1usize << 32 - 2

Maximum size of buffer allowed. Note: we assert on this size. Most network servers should set their own limits to something much smaller.