autocommit 2022-02-06 03:46:03 CET
This commit is contained in:
parent
59ce74681a
commit
c92346324b
60 changed files with 1292 additions and 1958 deletions
|
|
@ -164,10 +164,8 @@ impl Drop for ClientHolder {
|
|||
|
||||
pub trait EventFormatter: Debug {
|
||||
fn format(self: Box<Self>, fmt: &mut MsgFormatter<'_>);
|
||||
fn obj(&self) -> &dyn Object;
|
||||
fn should_log(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn id(&self) -> ObjectId;
|
||||
fn interface(&self) -> Interface;
|
||||
}
|
||||
|
||||
pub type DynEventFormatter = Box<dyn EventFormatter>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue