pub trait Random: RngCallback { // Provided method fn random(&mut self, data: &mut [u8]) -> Result<()> { ... } }