Trait iota_network_stack::callback::ResponseHandler
source · pub trait ResponseHandler {
// Required methods
fn on_response(self, response: &Parts);
fn on_error<E>(self, error: &E);
}
Required Methods§
fn on_response(self, response: &Parts)
fn on_error<E>(self, error: &E)
Object Safety§
This trait is not object safe.