stack overflow when recover database.
Check the call stack and find that it has been recursively infinite from Display::fmt
-> to_string
.
|
impl Display for Status { |
|
fn fmt(&self, fmt: &mut Formatter) -> result::Result<(), fmt::Error> { |
|
fmt.write_str(&self.to_string()) |
|
} |
|
} |