pub struct NoContentResult;Expand description
204 No Content.
Trait Implementations§
Source§impl IActionResult for NoContentResult
impl IActionResult for NoContentResult
Source§fn execute<'life0, 'async_trait>(
self: Box<NoContentResult>,
ctx: &'life0 mut dyn IHttpContext,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
NoContentResult: 'async_trait,
fn execute<'life0, 'async_trait>(
self: Box<NoContentResult>,
ctx: &'life0 mut dyn IHttpContext,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
NoContentResult: 'async_trait,
Write this result into the response.
Auto Trait Implementations§
impl Forget for NoContentResult
impl Freeze for NoContentResult
impl Move for NoContentResult
impl RefUnwindSafe for NoContentResult
impl Send for NoContentResult
impl Sync for NoContentResult
impl Unpin for NoContentResult
impl UnsafeUnpin for NoContentResult
impl UnwindSafe for NoContentResult
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