dispatch_buf

This commit is contained in:
NikVolf
2016-04-03 23:39:49 +03:00
parent 0a60da622f
commit b04d8196c7
3 changed files with 36 additions and 1 deletions

View File

@@ -531,6 +531,15 @@ fn implement_interface(
_ => vec![]
}
}
fn dispatch_buf<R>(&self, method_num: u16, r: &mut R) -> Vec<u8>
where R: ::std::io::Read
{
match method_num {
$dispatch_arms
_ => vec![]
}
}
}
).unwrap(), dispatch_table))
}