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§

source

fn on_response(self, response: &Parts)

source

fn on_error<E>(self, error: &E)

Object Safety§

This trait is not object safe.

Implementors§