Trait WithDeferredResponse

Source
pub trait WithDeferredResponse {
    // Required methods
    fn with_deferred_response(self, delayed_response: DeferredResponse) -> Self;
    fn with_deferred_hide(self) -> Self;
    fn with_deferred_authenticate(self, authenticate: ByteString) -> Self;
    fn with_deferred_redirect_to(
        self,
        uri_path: ByteString,
        status_code: StatusCode,
    ) -> Self;
    fn with_deferred_rewrite_from(self, uri_path: ByteString) -> Self;
    fn with_deferred_error(self, error: ByteString) -> Self;
}
Expand description

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl WithDeferredResponse for Request

Source§

fn with_deferred_response(self, delayed_response: DeferredResponse) -> Self

Source§

fn with_deferred_hide(self) -> Self

Source§

fn with_deferred_authenticate(self, authenticate: ByteString) -> Self

Source§

fn with_deferred_redirect_to( self, uri_path: ByteString, status_code: StatusCode, ) -> Self

Source§

fn with_deferred_rewrite_from(self, uri_path: ByteString) -> Self

Source§

fn with_deferred_error(self, error: ByteString) -> Self

Implementors§