pub unsafe trait Params<const host: bool = true> {
    // Required method
    fn buf_len(&self) -> usize;
}
Expand description

Safety

The buf_len method should return constant value (i.e. same value on every call).

Returning value should satisfy buf_len() <= isize::MAX as usize.

Required Methods§

source

fn buf_len(&self) -> usize

Implementors§

source§

impl Params<true> for RtParams

source§

impl<const BUF_LEN: usize, const host: bool = true> Params<host> for CtParams<BUF_LEN>