pub trait AsyncSyslogInternalIO:
Debug
+ Send
+ 'static {
// Required methods
async fn send_to_syscons(logstat: LogStat, msg_payload: &str);
async fn send_to_stderr(logstat: LogStat, msg: &str);
async fn sleep_micro(us: u64);
}Expand description
A trait which generalize some operations which are different from the
various async providers i.e smol or tokio or external.
Required Methods§
Sourceasync fn send_to_syscons(logstat: LogStat, msg_payload: &str)
async fn send_to_syscons(logstat: LogStat, msg_payload: &str)
Sourceasync fn send_to_stderr(logstat: LogStat, msg: &str)
async fn send_to_stderr(logstat: LogStat, msg: &str)
Sourceasync fn sleep_micro(us: u64)
async fn sleep_micro(us: u64)
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.