pub trait AddressCommand: 'static + Sync {
    // Required methods
    fn action(&self, view: &BinaryView, addr: u64);
    fn valid(&self, view: &BinaryView, addr: u64) -> bool;
}
Expand description

The trait required for address-associated commands. See register_for_address for example usage.

Required Methods§

source

fn action(&self, view: &BinaryView, addr: u64)

source

fn valid(&self, view: &BinaryView, addr: u64) -> bool

Implementors§

source§

impl<T> AddressCommand for T
where T: 'static + Sync + Fn(&BinaryView, u64),