pub trait AsyncSyslogDestination:
Debug
+ Display
+ Send
+ Clone
+ SyslogDestMsg
+ 'static {
type SocketTap: AsyncSyslogTap<Self>;
}
Expand description
This trait is a common interface for the syslog realization which holds necessary info for compile time initialization and initialization during runtime. For async portion.
Required Associated Types§
Sourcetype SocketTap: AsyncSyslogTap<Self>
type SocketTap: AsyncSyslogTap<Self>
A provider of the connection to syslog for async code.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.