pub enum HttpEndpointResponse {
Value(AuthResponse),
Raw(AuthResponse),
}Expand description
Endpoint output distinguishing a logical value from a native raw response.
Raw responses bypass completed endpoint hooks, while HTTP response hooks
still observe them, matching a Source endpoint returning a Response.
Variants§
Value(AuthResponse)
Raw(AuthResponse)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpEndpointResponse
impl RefUnwindSafe for HttpEndpointResponse
impl Send for HttpEndpointResponse
impl Sync for HttpEndpointResponse
impl Unpin for HttpEndpointResponse
impl UnsafeUnpin for HttpEndpointResponse
impl UnwindSafe for HttpEndpointResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more