Trait wrpc_transport::Decode
source · pub trait Decode<T>: Sized {
type Decoder: Decoder<Item = Self> + Deferred<Incoming<T>> + Default + Send + 'static;
type ListDecoder: Decoder<Item = Vec<Self>> + Default + 'static;
}
Expand description
Defines value decoding
Required Associated Types§
sourcetype Decoder: Decoder<Item = Self> + Deferred<Incoming<T>> + Default + Send + 'static
type Decoder: Decoder<Item = Self> + Deferred<Incoming<T>> + Default + Send + 'static
Decoder used to decode value
sourcetype ListDecoder: Decoder<Item = Vec<Self>> + Default + 'static
type ListDecoder: Decoder<Item = Vec<Self>> + Default + 'static
Decoder used to decode lists of value
Object Safety§
This trait is not object safe.