Struct axum_codec::handler::CodecResponse
source · pub struct CodecResponse(/* private fields */);Implementations§
source§impl CodecResponse
impl CodecResponse
pub fn into_inner(self) -> Response
Trait Implementations§
source§impl From<CodecResponse> for Response
impl From<CodecResponse> for Response
source§fn from(inner: CodecResponse) -> Self
fn from(inner: CodecResponse) -> Self
Converts to this type from the input type.
source§impl IntoCodecResponse for CodecResponse
impl IntoCodecResponse for CodecResponse
fn into_codec_response(self, _content_type: ContentType) -> Response
source§impl IntoResponse for CodecResponse
impl IntoResponse for CodecResponse
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for CodecResponse
impl !RefUnwindSafe for CodecResponse
impl Send for CodecResponse
impl !Sync for CodecResponse
impl Unpin for CodecResponse
impl !UnwindSafe for CodecResponse
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