pub trait InMemoryBufferable:
AddBatchNotifier
+ ByteSizeOf
+ EventCount
+ Debug
+ Send
+ Sync
+ Unpin
+ Sized
+ 'static { }
Expand description
An item that can be buffered in memory.
This supertrait serves as the base trait for any item that can be pushed into a memory buffer.
It is a relaxed version of Bufferable
that allows for items that are not Encodable
(e.g., Instant
),
which is an unnecessary constraint for memory buffers.
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.