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
With DeferredResponse.
Required Methods§
Sourcefn with_deferred_response(self, delayed_response: DeferredResponse) -> Self
fn with_deferred_response(self, delayed_response: DeferredResponse) -> Self
With DeferredResponse.
Sourcefn with_deferred_hide(self) -> Self
fn with_deferred_hide(self) -> Self
With DeferredResponse::Hide.
Sourcefn with_deferred_authenticate(self, authenticate: ByteString) -> Self
fn with_deferred_authenticate(self, authenticate: ByteString) -> Self
Sourcefn with_deferred_redirect_to(
self,
uri_path: ByteString,
status_code: StatusCode,
) -> Self
fn with_deferred_redirect_to( self, uri_path: ByteString, status_code: StatusCode, ) -> Self
Sourcefn with_deferred_rewrite_from(self, uri_path: ByteString) -> Self
fn with_deferred_rewrite_from(self, uri_path: ByteString) -> Self
Sourcefn with_deferred_error(self, error: ByteString) -> Self
fn with_deferred_error(self, error: ByteString) -> Self
With DeferredResponse::Error.
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.