pub trait IntoCatch<S> {
type Catch: Catch;
// Required method
fn into_catch(self) -> Self::Catch;
}Expand description
Convert Self into a value that implements Catch.
By implementing IntoCatch for a type, you define how it will be converted
into a Catch instance.
The Serializer configured for the service is provided. This allows the
Catch instance to be able to serialize responses.
Required Associated Types§
Required Methods§
Sourcefn into_catch(self) -> Self::Catch
fn into_catch(self) -> Self::Catch
Convert self into a Catch value.