PR issuse resolved

This commit is contained in:
Sergey Parilin 2019-04-02 17:52:04 +03:00
parent ef02c3c038
commit 9b73f80959
9 changed files with 30 additions and 10 deletions

View file

@ -52,6 +52,12 @@ pub struct Filter {
allowed: Vec<String>,
}
impl Filter {
pub fn new(depth: usize, allowed: Vec<String>) -> Filter {
Filter { depth, allowed }
}
}
struct ProfileStack {
starts: Vec<Instant>,
messages: Vec<Message>,