pub trait ClientStateDecoder: Into<Any> + TryFrom<Any, Error = ClientError> { }
Expand description

Convenient trait to decode a client state from an Any type and obtain a handle to the local instance of ClientState.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ClientStateDecoder for T
where T: Into<Any> + TryFrom<Any, Error = ClientError>,