1 2 3 4 5 6 7 8 9 10 11 12 13 14
use mtop_client::MtopError; #[derive(Debug, Default)] pub struct Profiler; impl Profiler { pub fn new() -> Self { Self } pub fn proto(&self) -> Result<Vec<u8>, MtopError> { Ok(Vec::new()) } }