Trait ReflectIndirect

Source
pub trait ReflectIndirect {
    // Required methods
    fn indirect(&self, fnc: Box<dyn FnMut(&dyn Access) + Send>);
    fn indirect_mut(&mut self, fnc: Box<dyn FnMut(&mut dyn Access) + Send>);
}
Expand description

The indirect Reflect allows indirect climber or reflector access, and meant to be used as a trait object for that purpose.

It is expected that the provided callback would be called at this or some other thread in order to continue traversal of the access expression. For example, if a processes uses internal message passing, the traversal can continue upon message reception.

Required Methods§

Source

fn indirect(&self, fnc: Box<dyn FnMut(&dyn Access) + Send>)

Provides indirection for immutable access.

Source

fn indirect_mut(&mut self, fnc: Box<dyn FnMut(&mut dyn Access) + Send>)

Provides indirection for mutable access.

Implementors§