pub unsafe trait Params {
    // 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 for RtParams

source§

impl<const BUF_LEN: usize> Params for CtParams<BUF_LEN>