Skip to main content

ServiceBuilderUtilsExt

Trait ServiceBuilderUtilsExt 

Source
pub trait ServiceBuilderUtilsExt<T, E>
where E: Display,
{ type Output; // Required method fn print_and_drop_request_error(self) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn print_and_drop_request_error(self) -> Self::Output

Output all Err variant items via log::warn! and discard them. Converts output type of the rest from Result<T, E> to T.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<L, T, E> ServiceBuilderUtilsExt<T, E> for ServiceBuilder<L>
where E: Display,

Implementors§