Trait rpc_it::rpc::UserData

source ·
pub trait UserData: Any + Send + Sync + 'static {
    // Required method
    fn as_any(&self) -> &(dyn Any + Send + Sync + 'static);
}

Required Methods§

source

fn as_any(&self) -> &(dyn Any + Send + Sync + 'static)

Trait Implementations§

source§

impl AsRef<dyn Any + Sync + Send> for dyn UserData

source§

fn as_ref(&self) -> &(dyn Any + Send + Sync + 'static)

Converts this type into a shared reference of the (usually inferred) input type.

Implementors§

source§

impl<T> UserData for Twhere T: Any + Send + Sync + 'static,