pub trait AxumMethods:
Sized
+ Send
+ Sync
+ 'static {
// Provided methods
fn report() -> Option<MethodFunction<Self>> { ... }
fn get() -> Option<MethodFunction<Self>> { ... }
fn post() -> Option<MethodFunction<Self>> { ... }
fn mkcol() -> Option<MethodFunction<Self>> { ... }
fn mkcalendar() -> Option<MethodFunction<Self>> { ... }
fn put() -> Option<MethodFunction<Self>> { ... }
fn allow_header() -> Allow { ... }
}
Provided Methods§
fn report() -> Option<MethodFunction<Self>>
fn get() -> Option<MethodFunction<Self>>
fn post() -> Option<MethodFunction<Self>>
fn mkcol() -> Option<MethodFunction<Self>>
fn mkcalendar() -> Option<MethodFunction<Self>>
fn put() -> Option<MethodFunction<Self>>
fn allow_header() -> Allow
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.