pub unsafe trait Value: Send + 'static {
type Item: Field;
// Required methods
fn len(&self) -> usize;
fn check_len(count: usize) -> bool;
fn cast_ptr(ptr: *const u8, len: usize) -> *const Self;
}Expand description
Value of the channel.
Consists of single or many items.
§Safety
Should be implemented only for types that represented in memory as Self::Item.
Required Associated Types§
Required Methods§
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.