pub trait AsAny {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn as_any_mut(&mut self) -> &mut dyn Any;
}
Expand description

Support to downcast trait to concrete request type.

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn as_any_mut(&mut self) -> &mut dyn Any

Implementors§