pub trait NewErrorLog<C, S> {
type ErrorLog: ErrorLog<ConnectionError = C, SinkError = S>;
// Required method
fn construct(self) -> Self::ErrorLog;
}Expand description
A constructor for error log
pub trait NewErrorLog<C, S> {
type ErrorLog: ErrorLog<ConnectionError = C, SinkError = S>;
// Required method
fn construct(self) -> Self::ErrorLog;
}A constructor for error log