options

Function options 

Source
pub fn options<T, H, I, D, S>(handler: H) -> MethodRouter<S, Infallible>
where H: CodecHandler<T, I, D, S> + Clone + Send + Sync + 'static, I: Input + Send + Sync + 'static, D: IntoCodecResponse + Send + 'static, S: Clone + Send + Sync + 'static, T: Sync + 'static,
Expand description

Route options requests to the given handler. See axum::routing::options for more details.