pub struct HttpServerError {
pub reason: String,
}Fields§
§reason: StringImplementations§
Source§impl HttpServerError
impl HttpServerError
pub fn new(reason: &str) -> HttpServerError
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpServerError
impl RefUnwindSafe for HttpServerError
impl Send for HttpServerError
impl Sync for HttpServerError
impl Unpin for HttpServerError
impl UnwindSafe for HttpServerError
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