Type Definition api_request_utils::ErrorHandler
source · pub type ErrorHandler<E> = dyn Fn(RequestError<E>) + Sync;
Expand description
Alias for a closure type that takes a RequestError<E>
as an argument and returns ()
.
The closure should be both Send
and Sync
.