pub struct Raw(/* private fields */);Expand description
Creates a response with the content-type application/x-binary there may be a better MIME type
to use for this.
Trait Implementations§
Source§impl IntoResponse for Raw
impl IntoResponse for Raw
fn response(self) -> RawResponse
Auto Trait Implementations§
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
Blanket Implementations§
Source§impl<T> Action for Twhere
T: IntoResponse,
impl<T> Action for Twhere
T: IntoResponse,
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