AsyncSyslogDestination

Trait AsyncSyslogDestination 

Source
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§

Source

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.

Implementors§

Source§

impl AsyncSyslogDestination for SyslogFile

Available on crate feature build_async_tokio only.
Source§

impl AsyncSyslogDestination for SyslogNetTcp

Available on crate feature build_async_tokio only.
Source§

impl AsyncSyslogDestination for SyslogNetUdp

Available on crate feature build_async_tokio only.
Source§

impl AsyncSyslogDestination for SyslogTls

Available on crate feature build_async_tokio only.
Source§

impl AsyncSyslogDestination for SyslogLocal

Available on crate feature build_async_tokio only.