pub struct RequestDroppedError;Expand description
Error returned to the client when the server drops ServedRequest without calling
ServedRequest::respond.
This is not a transport error: it means the server-side handler gave up without sending a
successful response (for example by returning early or unwinding after serve).
Trait Implementations§
Source§impl Clone for RequestDroppedError
impl Clone for RequestDroppedError
Source§fn clone(&self) -> RequestDroppedError
fn clone(&self) -> RequestDroppedError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestDroppedError
Source§impl Debug for RequestDroppedError
impl Debug for RequestDroppedError
impl Eq for RequestDroppedError
Source§impl PartialEq for RequestDroppedError
impl PartialEq for RequestDroppedError
Source§fn eq(&self, other: &RequestDroppedError) -> bool
fn eq(&self, other: &RequestDroppedError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestDroppedError
Auto Trait Implementations§
impl Freeze for RequestDroppedError
impl RefUnwindSafe for RequestDroppedError
impl Send for RequestDroppedError
impl Sync for RequestDroppedError
impl Unpin for RequestDroppedError
impl UnsafeUnpin for RequestDroppedError
impl UnwindSafe for RequestDroppedError
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