pub trait AsyncSink:
AsyncRecordSink
+ AsyncRawDataSink
+ AsyncCtrl
+ Send
+ Sync { }Expand description
Combined trait for full-featured async sinks.
This is a marker trait that combines AsyncRecordSink, AsyncRawDataSink,
and AsyncCtrl. Types implementing all three traits automatically implement
AsyncSink through the blanket implementation.
Use this trait when you need a sink that supports all data formats and lifecycle management.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".