Struct rest_api_utils::clients::RestApiClientBuilder [−][src]
pub struct RestApiClientBuilder { /* fields omitted */ }Implementations
pub fn on_api_error<Func>(self, handler: Func) -> Self where
Func: Fn(StatusCode, Option<String>) -> ApiError + 'static,
pub fn before_request<Fut, Func>(self, handler: Func) -> Self where
Fut: Future<Output = ()> + Send + 'static,
Func: Fn(String) -> Fut + Send + Sync + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for RestApiClientBuilder
impl !Send for RestApiClientBuilder
impl !Sync for RestApiClientBuilder
impl Unpin for RestApiClientBuilder
impl !UnwindSafe for RestApiClientBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more