pub enum HttpServeError {
Bind(Error),
Serve(Error),
ShutdownTimeout,
}Expand description
Error raised while serving an event-driven HTTP adapter.
Variants§
Trait Implementations§
Source§impl Debug for HttpServeError
impl Debug for HttpServeError
Source§impl Display for HttpServeError
impl Display for HttpServeError
Source§impl Error for HttpServeError
impl Error for HttpServeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for HttpServeError
impl !UnwindSafe for HttpServeError
impl Freeze for HttpServeError
impl Send for HttpServeError
impl Sync for HttpServeError
impl Unpin for HttpServeError
impl UnsafeUnpin for HttpServeError
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