pub trait WatchStreamValueDecoder {
type Item;
type Error: Error + Send + 'static;
// Required method
fn decode_watch_response(
&mut self,
key: &[u8],
value: &[u8],
) -> Result<Self::Item, Self::Error>;
}Required Associated Types§
Required Methods§
fn decode_watch_response( &mut self, key: &[u8], value: &[u8], ) -> Result<Self::Item, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".