Skip to main content

AxumMethods

Trait AxumMethods 

Source
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 import() -> Option<MethodFunction<Self>> { ... }
    fn allow_header() -> Allow { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<PRS: ResourceService<Principal = P> + Clone, P: Principal, PURI: PrincipalUri> AxumMethods for RootResourceService<PRS, P, PURI>