Skip to main content

Value

Trait Value 

Source
pub trait Value:
    'static
    + Clone
    + PartialEq
    + Send
    + Sync
    + Encode<Output = Bytes>
    + Decode<Input = [u8]> { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: 'static + Clone + PartialEq + Send + Sync + Encode<Output = Bytes> + Decode<Input = [u8]>> Value for T